Resolved IO.Directory.Exists Problem

aaaron

Well-known member
Joined
Jan 23, 2011
Messages
216
Programming Experience
10+
If Not IO.Directory.Exists(dirPathName) Then Exit Function:

The Above exits with a valid file name. See image below for filename.
The file was created by Windows Media Player.
If I click on the filename in file explorer it open in Paint OK.

Shoud I be doing it differently?
File Not Exist.png


A better view of the filename

File Not Exist 2.png
 
Last edited:
I'm using Directory.Exist to check a file (not a directory).

No wonder the result is strange!

Sorry
 
Solution
Back
Top