Greetings,
I have a very simple bat file (on xp pro) that I'm trying to use to launch multiple telnet-client sessions to various sets of hosts. The problem is that only one client session launches. The following commands don't execute until the previous one exits.
Is there a way to launch them all simultaneously/concurrently as you may in unix by backgrounding each task? A code fragment from the bat file appears below. Any help is sincerely appreciated. Thanks!
@ECHO OFF
REM OpenNOC5.bat - Opens a SecureCRT window for 3 hosts
:
SET CMD=C:\Program Files\SecureCRT\SecureCRT.exe
SET CONFIGPATH=C:\VanDyke\Config
SET SESSIONPATH=MUAT
:
SET HOST1=cmtnoc5-mx1
SET HOST2=cmtnoc5-mx2
SET HOST3=cmtnoc5-mx3
"%CMD%" /f "%CONFIGPATH%" /S "%SESSIONPATH%\%HOST1%"
"%CMD%" /f "%CONFIGPATH%" /S "%SESSIONPATH%\%HOST2%"
"%CMD%" /f "%CONFIGPATH%" /S "%SESSIONPATH%\%HOST3%"
-- mike