path - How can a batch file call another batch file? -


i have 2 different batch files @ 2 different path. when call a.bat b.bat, batch file called(a.bat) doesn't work. when double click a.bat works fine. think problem the path. however, use full paths. why doesn't work? want extract file.

b.batch

call "c:\documents , settings\a.bat" 

a.batch

set earfile="e:\bee\deployments\sny1\snyeartest.ear" set winrar_exe="c:\.....\winrar.exe" set war_file="c:\...."  %winrar_exe% e -o+ %earfile% %war_file%  

when extract war_file path a.bat exist war_file extracted path b. there solution solve problem?

it should work.

add pause end of b.bat can see error messages before window closes.

add cd /d path @ top of b.bat specify folder in ear file decompressed.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -