J
Jason Barona
I have a batch file that works just fine on NT 4.0. We are
changing to Windows 2000 and the Batch file stops
executing when running on Windows 2000. I ahve included a
copy of the bat file.
@echo off
rem DISCONNECT.BAT 04/01/2003
rem Used to issue DataRec disconnects into CRM
rem Start-up WinRunner and get into CRM
c:
cd \
rem "C:\Program Files\Mercury
Interactive\WinRunner\arch\wrun.exe" -t "H:\DSG WinRunner
Scripts\open crm" -animate
:main
rem Get the next TN to 'disconnect' from the deny database
rem erase "c:\program files\mercury
interactive\winrunner\tmp\test_AutoDisc092002_1\script"
rem copy c:\script "c:\program files\mercury
interactive\winrunner\tmp\test_AutoDisc092002_1\script"
erase disconnect.txt
rsh 96.130.58.10 -l otto next_dis %1 > disconnect.txt
erase "c:\program files\mercury
interactive\winrunner\tmp\test_AutoDisc092002_1
\disconnect.txt"
copy c:\disconnect.txt "c:\program files\mercury
interactive\winrunner\tmp\test_AutoDisc092002_1
\disconnect.txt"
rem Run the WinRunner script to add the disconnect note
and (if Active Service rem state) proceed through CRM
scripting to issue the disconnect
rem"c:\Program Files\Mercury
Interactive\WinRunner\arch\wrun.exe" -t "H:\DSG WinRunner
Scripts\test_AutoDisc092002_1" -animate
rem pause
goto main
Help would greatly be appreciated.
Thanks.
changing to Windows 2000 and the Batch file stops
executing when running on Windows 2000. I ahve included a
copy of the bat file.
@echo off
rem DISCONNECT.BAT 04/01/2003
rem Used to issue DataRec disconnects into CRM
rem Start-up WinRunner and get into CRM
c:
cd \
rem "C:\Program Files\Mercury
Interactive\WinRunner\arch\wrun.exe" -t "H:\DSG WinRunner
Scripts\open crm" -animate
:main
rem Get the next TN to 'disconnect' from the deny database
rem erase "c:\program files\mercury
interactive\winrunner\tmp\test_AutoDisc092002_1\script"
rem copy c:\script "c:\program files\mercury
interactive\winrunner\tmp\test_AutoDisc092002_1\script"
erase disconnect.txt
rsh 96.130.58.10 -l otto next_dis %1 > disconnect.txt
erase "c:\program files\mercury
interactive\winrunner\tmp\test_AutoDisc092002_1
\disconnect.txt"
copy c:\disconnect.txt "c:\program files\mercury
interactive\winrunner\tmp\test_AutoDisc092002_1
\disconnect.txt"
rem Run the WinRunner script to add the disconnect note
and (if Active Service rem state) proceed through CRM
scripting to issue the disconnect
rem"c:\Program Files\Mercury
Interactive\WinRunner\arch\wrun.exe" -t "H:\DSG WinRunner
Scripts\test_AutoDisc092002_1" -animate
rem pause
goto main
Help would greatly be appreciated.
Thanks.