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
所有跟帖:
•
回复:dos batch problem. Help
-mfl-
♂
(198 bytes)
()
10/20/2008 postreply
17:54:46