Batch programme

sneha_23

Distinguished
Jul 13, 2011
1
0
18,510
hi i am trying to create a batch programme that will copy the files from one folder to the other folder along with date and time.This is working fine for me. But what i want is , everytime i run a batch file , i want the results getting appended to the same text file.

This is what i have tried

Copy C:\apps\old\*.dll C:\apps\New\
cd c:\apps\New
attrib >c:\apps\result.txt
echo %date% - %time% - Copying Completed >>c:\apps\result.txt

Could anyone help me ..

Thanks in advance
 

uy2618

Distinguished
Jul 19, 2011
1
0
18,510