Specific methods:
1, copy folder. If I want to copy the F-disk file folder to the C-packing directory, enter the following command:
xcopy F:file c:file/e
2, delete the folder. Suppose you delete the 123 folders under D disk and enter the following command:
del/s/q d:123*.*----(for deleting a subdocument under a folder)
rd/s/q d:123----(for deleting folders)
The/s parameter is a subdirectory
/q parameter is not confirmed
Resolution: Delete file with the del command, then this command is not like the Ren command-take-all files and folders, Del can not delete the folder. Because the Delete folder must use the RD command.
Another alternative to Rd is RmDir, which comes from remakedirectory. The method used is also simple: Rd folder name, for example, RD test. It supports folder names with paths, for example, RD D:test.
Sometimes, RD doesn't do a good job: you let it delete the test folder, it is arrogant to look at you: The directory is not empty, if you want to delete the folder below there are sub files, you have to give rd hat, add a/s parameter, it will happily help you do things, so, the correct way to write is: rd/s Test