how to cut, paste, rename a file

Microsoft Windows
Post Reply
User avatar
MigrationUser
Posts: 336
Joined: 2021-Jul-12, 1:37 pm
Contact:

how to cut, paste, rename a file

Post by MigrationUser »

22 Sep 2011 16:10
cdelattre

What commands would I need to cut a file, paste that file into another directory, and then rename that file. The important thing is to leave the ext of the file alone.

----------------------------

#2 22 Sep 2011 18:12
Chimaera


Start here
https://ss64.com/nt/
id imagine COPY will be usefull
aslo look at REN

----------------------------

#3 22 Sep 2011 19:54
bluesxman


You can "cut", "paste" and "rename" all in one go with the "move" command.

move "c:\source directory\source file.txt" "d:\target directory\target file.txt"

cmd | *sh | ruby | chef
Post Reply