dos batch problem. Help

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

所有跟帖: 

回复:dos batch problem. Help -mfl- 给 mfl 发送悄悄话 mfl 的博客首页 (198 bytes) () 10/20/2008 postreply 17:54:46

请您先登陆,再发跟帖!