views:

37

answers:

2

I would like to create a batch file which will move the output file of a custom command "mdmg C:\source i5". I must execute this command from the C:\home directory where the mdmg.cmd resides.

This command converts the any file in the source dir and creates an output files in the C:\home folder.

However I want to move the output files to another folder autometically, lets say C:\test.

can it be done in a batch script?

Thanks in advance.

A: 

What is the problem ? DOS has a move command. Or you could simulate that with a copy and delete if move is unavailable for some reason.

Gishu
+1  A: 

bla.bat

move c:\home\* c:\test
Vincent McNabb