Reputation: 75
I am looking for single command in CMD which will allow me to rename and move files from one directory to the other directory. Here is my task: Rename all .txt files in the TEST folder with the new extension .doc and then move them to the TEST2 folder. Thanks in advance.
Upvotes: 7
Views: 30839
Reputation: 199
Though its an older thread, posting this answer in case someone comes looking...
move "c:\test\originalfile.txt" "c:\NewLocation\UpdatedFile.txt"
Upvotes: 16