batch file for renaming

March 18, 2009 at 07:22:08
Specs: Windows XP
@echo
ren macro.dyr macro1.txt
end
I am using this syntax for renaming a file with extension name changed, but while i run this file " the syntax of this command is incorrect meassage displays at command prompt. is there any problem with syntax?

See More: batch file for renaming

Report •


#1
March 18, 2009 at 07:42:32
Strange, it worked for me. Try this:

@echo off
ren macro.dyr macro1.txt
cls
exit

some other bloke...


Report •

#2
March 18, 2009 at 20:54:43
hi, thanks but still is showing the same message. that "the syntax of the command is incorrect.

Report •

#3
March 19, 2009 at 12:39:11
No idea. Unless there are any spurious spaces or returns which are not visible then I would have thought the syntax was fine.

some other bloke...


Report •

Related Solutions


Ask Question