-
Solved: How to do repeated File-Open commands in alternate locations
I want to open a file for writing, but it might be stored in one of several different locations. I'd like a procedure to try each location in turn until either success or file-not-found message. How would I code that?
The tail end of the path to my file is Maps\mapPix\Pix1 and these are the paths I'd like to check.
C:\
C:\Documents and Settings\Administrator\Application Data\
C:\Documents and Settings\Administrator\Local Setting\ApplicationData
C:\Documents and Settings\Administrator\My Documents\
C:\Documents and Settings\Administrator\Desktop\
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules