That will give you an array with the contents of the directory. You don't need to connect to "x:\\whatever" as long as you know the machine and share is called. Also, if you or someone should change the drive mapping it won't matter. Good Luck!open DH, "\\\\machine\\share" or warn $!; my @dir_listing = readdir(DH); close DH;
Sweetblood
In reply to Re: Windows XP fun
by sweetblood
in thread Windows XP fun
by flogic
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |