Spread the love

Use cmd (command prompt) to copy files and folders.
It’s nice to know how to use the command line to do basic stuff. If you need to create a task scheduled copy/paste job this is going to be very useful.

// go to file or folder dir
cd Desktop
// list file or folder
dir
// copy file or folder
xcopy file.txt file2.txt
xcopy folder1 folder2\
Code language: JavaScript (javascript)

Leave a Reply