PDA

View Full Version : File Exists true or false?


lance
03-23-2004, 04:25 PM
Hi everyone.

I'm new to autoplay 5 so bear with me.. What i'm trying to do is to find if a file exists. I know how to do this my problem is the I caanot find a global varible to use to search the entire c:\ I have found the varibles for
_Windowsfolder and _Systemsfolder but none referencing for the root of c:\ and all of its subfolders. Any ideas?



Thanks
Lance

rhosk
03-23-2004, 04:32 PM
If it's definitely the C Drive you're concerned with, try "C:\\" and recurse.

lance
03-23-2004, 04:46 PM
The problem is In the filename line I must reference either the exact location or use a varible. If I do not know the exact location then I must use a varible. In this case I'm not sure where the file could be located.. This way If i can search the c:\ i'm ensured of finding it.