> Hello,
> I am writting a script to find and link to all the files through out a
> whole website.
> I have had trouble with finding and opening directories on a winNT system,
> does anyone have a idea on how to find and open all directories and
> desplay their contents?
> 
> my code...
> $base = "c:\\www\\"; # the www is where the files are held on the unix
> server
> 
> sub openDir {
> opendir(BASE, $base) || print "Error...";
>       while ($name = readdir(BASE)) {
>               if (-d $name) {
>               print "<a href =$name target=otherpage>$name</a>
>               opendir(NEW, "$base$name")      {
>               ...
> 
> the -d doesnt' find the directories on the windows system, and I haven't
> had the chance to try it out on the unix server...
> any ideas on a work around?
> 
> thanks for your time,
> James
> 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to