Windows: batch script to copy directory

Self-tutoring about Windows: the tutor mentions a batch script to copy a directory.

The batch script I wrote (using Notepad):

@echo off

robocopy c:\this_dir k:\that_dir /e
pause

I saved that file as the_backup.bat: batch files need be named with bat or cmd extension.

I’ve run it once; it seems to work fine.

Source:

www.tutorialspoint.com

o7planning.org

ss64.com

Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.

Leave a Reply