How to check if a path exisits

I have the following code to check for the existence, or not, of a backup directory with three possible paths

Might it then make more sense to test for a file or folder on the target drive rather than the drive itself?

fso.FileExists()
fso.FolderExists()

These methods return false if the drive is not connected.
see answers in threads 2,3,7,12
 
Last edited:
Might it then make more sense to test for a file or folder on the target drive rather than the drive itself?

fso.FileExists()
fso.FolderExists()

These methods return false if the drive is not connected.
see answers in threads 2,3,7,12
I finished up using the "folder exists" construct and that is working correctly.
I thank you for your perseverance. I do try to research these things before I go to the forum but it's difficult to find stuff if you don't know what you're looking for.:mad:
John
 
👍
 

Users who are viewing this thread

Back
Top Bottom