我有一个执行拷贝文件动作的批处理testCP.bat,内容如下:
@echo off
xcopy /s/r/y/h/c "D:\Inetpub\wwwroot\public_website\website\zh_CN\*.*" "k:\public_website\"
goto :eof
exit
现在我想在执行完拷贝动作后,接着执行另一个批处理test.bat,修改testCP.bat:
@echo off
if exist "k:\public_website\website" rd /s /q "k:\public_website\website"
start /b xcopy /s/r/y/h/c "D:\Inetpub\wwwroot\public_website\website\zh_CN\*.*" "k:\public_website\"
goto :eof
call test.bat
exit
但改了后,testCP.bat没有执行test.bat.
如何在"拷贝文件"这个动作全部完成后继续执行其他的批处理呢?请大家赐教.
[ Last edited by boy on 2010-7-1 at 12:05 ]
@echo off
xcopy /s/r/y/h/c "D:\Inetpub\wwwroot\public_website\website\zh_CN\*.*" "k:\public_website\"
goto :eof
exit
现在我想在执行完拷贝动作后,接着执行另一个批处理test.bat,修改testCP.bat:
@echo off
if exist "k:\public_website\website" rd /s /q "k:\public_website\website"
start /b xcopy /s/r/y/h/c "D:\Inetpub\wwwroot\public_website\website\zh_CN\*.*" "k:\public_website\"
goto :eof
call test.bat
exit
但改了后,testCP.bat没有执行test.bat.
如何在"拷贝文件"这个动作全部完成后继续执行其他的批处理呢?请大家赐教.
[ Last edited by boy on 2010-7-1 at 12:05 ]
