of course!

thanks!
-adam

--- Lyle Kopnicky <[EMAIL PROTECTED]> wrote:

> Adam Peterson wrote:
> 
> >hi,
> >
> >i'm attempting to open a parent directory that contains many sub
> >directories and a few text and .pdf files. i want to test to see if the
> >current file/dir is a directory before attempting to open it and test
> the
> >filenames within it. i'm trying to use -d test but it doesn't seem to
> work
> >and says that everything is not a dir when it is! i am accessing a
> network
> >share.
> >  
> >
> You have to use the full pathname of the dir you are checking with -d, 
> unless it is in the current directory.
> 
> Thus, instead of (-d $dir), you need to write (-d "$dirpath\\$dir").
> 
> -- 
> Lyle Kopnicky
> Software Project Engineer
> Veicon Technology, Inc.
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to