954,162 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

script not competing

I have a helper script that will grab weblogs for a particular domain, if called by itself from the MS-DOS command line it works as intended, but I'd like to call another script to call this script multiple times for the multiple domains, but it's only running the first call to the script and exiting out.

Is there a way to include helper batch files and have them all run sequentially?

g:
cd g:\mydir        

rem collecting log files
getlogs.bat site1
getlogs.bat site2
getlogs.bat site3
getlogs.bat site4
getlogs.bat site5
getlogs.bat site6


:cool:

fayola
Newbie Poster
13 posts since Jun 2009
Reputation Points: 11
Solved Threads: 0
 

Change it to this:

call getlogs.bat site1
call getlogs.bat site2


Without the call it will exit after the first call

sknake
Industrious Poster
4,954 posts since Feb 2009
Reputation Points: 1,764
Solved Threads: 735
 

Thanks that did the trick!
Considered resolved!!!!

fayola
Newbie Poster
13 posts since Jun 2009
Reputation Points: 11
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You