Useful Windows Command Line Stuff

From Ideasplace
Revision as of 14:28, 28 November 2023 by WikiSysop (talk | contribs) (Created page with "How to Copy a Folder with Batch File xcopy /s /i "THE FOLDER ADDRESS YOU WANT TO COPY" "DESTINATION LOCATION" Edit the code in batch file. You have to make some minor changes in the batch file you just created. In the code, type the actual values instead of the capital text. For example, if you want to copy a folder named folder1 from D: to E:, then enter D:\folder1 instead of THE FOLDER ADDRESS YOU WANT TO COPY and E:\folder1 instead of DESTINATION LOCATION.")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

How to Copy a Folder with Batch File

xcopy /s /i "THE FOLDER ADDRESS YOU WANT TO COPY" "DESTINATION LOCATION"


Edit the code in batch file. You have to make some minor changes in the batch file you just created. In the code, type the actual values instead of the capital text. For example, if you want to copy a folder named folder1 from D: to E:, then enter D:\folder1 instead of THE FOLDER ADDRESS YOU WANT TO COPY and E:\folder1 instead of DESTINATION LOCATION.