문제

I am using the following code to call a batch file:

dim shell  
set shell=createobject("wscript.shell")  
shell.run "a.bat D:\a"  
set shell=nothing    

How do I call more than 1 batch file, so that when the 1st file's execution is over the 2nd file is executed. as always, I really appreciate any help offered.

도움이 되었습니까?

해결책

Below

shell.run "a.bat D:\a"

add another line with another

shell.run "b.bat ...."

Or create a batch file that calls all the other batch files, and call that batch file from your script.

다른 팁

당신은 할 수 없습니다.stp-file을 저장 한 경우 캡으로 이름을 바꾸고 운전실 파일을 열고 스플리스트에서 볼 수있는 내용을 볼 수있는 검색 파일을 엽니 다.ANT가 일반 목록 인 경우 필드가 추가되었습니다.내가 할 수있는 유일한 방법은 템플리트를 식별 할 스키마에 몇 가지 종류의 정보를 추가하는 것입니다.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top