|Running an i7-860 machine with 8 gigs of memory and Windows 7 Ultimate.|
Just switched over from Windows XP Pro, and one of my batch files does not work. When I download a txt file from the internet that does not have the .txt extention on it, I normally run this batch file. It worked great on XP but not on Win7:
I get an error message in the dos window in Win7 that states:
'E:\X\new\ftpdown' is not recognized as an internal or external command, operable program or batch file.
The batch file:
for /f "tokens=* delims= " %%a in ('dir/s/b/a-d e:\x\new\*.') do (
ren %%a %%~Na.txt