Command Line (edit)

Copy file to file

copy /y "PATH_TO_FILE" "D:\BACKUP\ONGAME-360\FILE_NAME"

xCopy folder to folder

xcopy /s "C:\inetpub\wwwroot\Sites\Site1\*.*" "D:\Sites\Site1\"

xCopy folder structure

xcopy C:\Your Folder C:\New Folder /t /e

http://techbrij.com/notes/windows-run-commands.php

Lấy danh sách thư mục (folder) và thư mục con (sub-folder)

dir /s /b /o:n /ad > folders.txt
dir /s /b /o:gn > files.txt