rem SAMPLES OF XCOPY USE

rem xcopy is case-insensitive. filenames and switches may be upper or lower case.

rem Copy all files in the C:\env directory to the D:\snap\env directory.
rem Note the trailing \ on the directory name.
xcopy C:\env\*.* D:\snap\env\

rem copy all files in env and all non-empty subdirs
xcopy C:\env\*.* D:\snap\env\ /s

rem copy all files in env and all non-empty subdirs, suppressing overwrite prompt.
xcopy C:\env\*.* D:\snap\env\ /s /y

rem copy all files in env and all subdirs, even empty ones
xcopy C:\env\*.* D:\snap\env\ /e

rem copy all files in env and all subdirs, even empty ones, and even hidden and system files
xcopy C:\env\*.* D:\snap\env\ /e /h

rem copy all files in env and all subdirs that are newer than the existing ones
xcopy C:\env\*.* D:\snap\env\ /s /d

rem copy all files in env and all non-empty subdirs. Display full from and to filenames.
xcopy C:\env\*.* D:\snap\env\ /s /f

rem get help on other options
xcopy /?

rem -30-