dos question
dos question
(OP)
Hi all,
I'm creating a batch file to empty Temp and backup folders, as I've always done. When renaming the created batch to .bat, the .txt extension remains, not allowing the file to execute. ex. filename.bat.txt?? Never seen this before. Any suggestions? Thanks
I'm creating a batch file to empty Temp and backup folders, as I've always done. When renaming the created batch to .bat, the .txt extension remains, not allowing the file to execute. ex. filename.bat.txt?? Never seen this before. Any suggestions? Thanks






RE: dos question
Are you working in WinXP? If so, files that used to be *.bat files must how be *.cmd
Regards,
Mike Tompkins
RE: dos question
Changing the extension to .cmd has no effect. Double clicking on the file or shortcut opens the file for edit. I believe the last place I was at was using XP as well. I used .bat extensions there with no problem(?)Also, when renaming .txt files to .bat(or .cmd) shouldnt i get a message asking if I relly want to do this?
RE: dos question
Eric
RE: dos question
Then add the .bat extension with the filename.
Ken
RE: dos question
I forgot to unhide file extensions. Stars to all