ECHO
rename D:\a\aaa.txt D:\a\aa.txt
pause
why this dont work i try to rename the aaa.txt to aa.txt
ECHO
rename D:\a\aaa.txt D:\a\aa.txt
pause
why this dont work i try to rename the aaa.txt to aa.txt
Try REN instead of rename.
Some DOS guides here:
http://www.google.com/search?hl=en&s...ch+rename+file
it didnt work
C:\Documents and Settings\English\Desktop>ECHO
ECHO is on.
C:\Documents and Settings\English\Desktop>REN D:\a\aa.txt D:\a\aaz.txt
The syntax of the command is incorrect.
C:\Documents and Settings\English\Desktop>pause
Press any key to continue . . .
Perhaps you can find something useful here:
http://www.google.com/search?sourcei...rename+command
ECHO
rename D:\a\aa.txt aaz.txt
pause
it works, do you know about this that i have to take out thething?C:\a\
does the rename work when i go in deeper in the path or when the folder name is long other there something that i need to replace for Program Files like this %SystemRoot%\system32\restore\rstrui.exe
Last edited by zerozone; 26-07-2007 at 09:48 PM.
why it dont workes when i try it in the program files?