Batch (.bat) file to copy files from one folder to another
Posted on 2015-02-09
I have two folders - SourceFold and DestFold
There are several sets of Files in the sourceFold (each set has two files in it - For ex. 1.dgn , 1.txt )
So a sample folder will have something like 1.dgn , 1.txt , 2.dgn , 2.txt , 3.dgn, 3.txt .........
I need the following batch file
cut/copy a set (for example 1.dgn, 1.txt) from SourceFold and copy to DestFold
( Important: Make sure the ,dgn file is copied first and then the .txt file )
wait till the Destfolder is empty ( with some internal process , the copied files will be absorbed .Wait till that)
cut/copy next set
.... and it goes on till last set
can you please help with this Batch File ?
Thanks in advance