Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Win32 - read Temporary Internet Files Directory? 1

Status
Not open for further replies.

gnubie

Programmer
Apr 16, 2002
103
0
0
US
I would like to programatically access certain files in the Temporary Internet Files Directory. I can open the directory, but reading it is very restricted. Is there a way to read the directory contents AND copy or view selected files?

My code:

#!/usr/bin/perl
use strict;
my $tifpath="c:\\documents and settings\\george\\local settings\\temporary internet files\\";
my $filename = "";
opendir(DIR,$tifpath) or die "Cannot opendir $tifpath: $!";
while (defined($filename=readdir(DIR))) {
print "$filename\n";
}
exit;
1


Thanks,

GN

 
Find::File Module should be a good start!

dmazzini
GSM System and Telecomm Consultant

 
Thanks dmazzini, that looks promising.

GN
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top