G
Guest
Question:
I can't seem to get file.exists(filename) to return true when I search using
wildcards, and I know there's a file in that dir with that extension.
here's the path
dim yesno as boolean
FileName = "D:\Documents and Settings\Lou\My Documents\Visual Studio
Projects\Lucky7\Lucky7\bin\*.txt"
yesno=file.exists(filename)
file.exists keeps returning false when there is a readme.txt file in that dir.
It works if I explicitly name the file but not with the wildcard.
so...what am I doing wrong?
Thanks for helping this noobie.
I can't seem to get file.exists(filename) to return true when I search using
wildcards, and I know there's a file in that dir with that extension.
here's the path
dim yesno as boolean
FileName = "D:\Documents and Settings\Lou\My Documents\Visual Studio
Projects\Lucky7\Lucky7\bin\*.txt"
yesno=file.exists(filename)
file.exists keeps returning false when there is a readme.txt file in that dir.
It works if I explicitly name the file but not with the wildcard.
so...what am I doing wrong?
Thanks for helping this noobie.