-1

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:

2
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by fayola
0

Change it to this:

call getlogs.bat site1
call getlogs.bat site2

Without the call it will exit after the first call

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.