Avatar of dr34m3rs
dr34m3rs

asked on 

Unabel to open Internet Explorers TMP folder with perl?

Hi Perl Experts,

I am writting a simple script to auto capture images for me of websites I browse (when I have the script running)

Is there a way to read the internet explorers temp dir? Perl doesn't seem to "see" it (maybe because it's hidden or locked) - is there a way to temporarily unlock it or allow access for reading with perl?
#!/usr/bin/perl
$DIR = "C:/Documents and Settings/<username>/Temporary Internet Files";
opendir(DIR,"$DIR") die "Unable to open $DIR: $!";
@DIR = readdir(DIR);
close(DIR);
print @DIR;

Open in new window

Web BrowsersPerl

Avatar of undefined
Last Comment
dr34m3rs

8/22/2022 - Mon