Batch Files - TechRepublic
General discussion
June 21, 2000 at 06:46 AM
jmiller

Batch Files

by jmiller . Updated 25 years, 11 months ago

Is there a way to copy the contents of an entire folder (including sub-folders, loose files etc.) from a source to a destination using a batch file. For instance, if I want to copy the folder C:\Folder1 to D:\Folder2, I want to copy ALL of the datain folder1, including files, sub-folders etc. When I use the COPY command in the batch file, all I get copied is the files in Folder1, not any of the sub-folders in Folder1, or the data contained in them.

Thanks,

Jimmy

This discussion is locked

All Comments