songmx2008-10-21 00:57:49
2 batch file

file 1 --copy_file.bat
contents: copy %1 %2

file 2--test_dos.bat
contents: copy_file test1.txt test2.txt
dir test*.txt

but when I ran test_dos.bat in dos prompt, the batch file ran only the first line "copy_file test1.txt test2.txt", then return to dos prompt, and the last line "dir test*.txt" did not run at all.

Anyone knows why the batch file breaks at the middle? how can I make it continue running.

The above dos batch files were execuated in dos window in windows XP

Thanks
mfl2008-10-21 01:54:46
回复:dos batch problem. Help