1.

Solve : check to see if variable entered is .txt file?

Answer»

NewUser,

I changed the name of a personal.doc file to personal.txt

NOTEPAD would not open the personal.txt file.

Error message:

<<"The format must be ascii (text) before notepad can open personal.txt.

Changing the name of a file does not change the format.">>

Help?

p.s. When the Original Poster CHECKS for the .txt extension of a file, the .txt extension does not prove the file is a text file. So be careful.And that has what EXACTLY to do with the question, Bill? (I thought you were banned?)

Quote from: newuserlh on November 28, 2009, 08:15:12 AM

Like when the date variable has been CHECKED and is valid, I'd like to pass it back into the batch program.

Batch will check all dates and anything that needs to be done.

Vbs is not needed.

See post # 4Strongly suggest ignoring "Joanlong" who is a troll.


use a for loop


Discussion

No Comment Found