I would like to write a small script (.bat file)that would copy the contents of a folder (files and sub-folders) to a network volume.
My script is copying the files but not the sub-folders and is overwriting existing files without prompting.
Am I corrct in thinking it is missing a recursive command?
Can anyone help me with the syntax?
copy /Y C:\data\test\* D:\backup\test\
Best regards
My script is copying the files but not the sub-folders and is overwriting existing files without prompting.
Am I corrct in thinking it is missing a recursive command?
Can anyone help me with the syntax?
copy /Y C:\data\test\* D:\backup\test\
Best regards