Hello all,
Can someone help me out with an error I am getting? When I try to save
a file with no extension, I recieve a bad file name or number error.
here is the code that throws the error:
Set objFile = objFSO.CreateTextFile(strPath, True)
objFile.Write(strList)
objFile.Close
The problem is that strPath is "C:\Program Files\Some App\FILE" where
FILE is actually the file name. I assume that I am getting this error
because vbscript thinks FILE is a directory. Is there anyway to save a
text file with no extension?
By the way, this is the 2nd time I tried to post this so I apologize
if my post shows up twice for some reason. I waited 2 hours but my old
post never showed up.
JG