Hi Dirk,
I recently upgraded SA from 4.1 to 6.2.2279, and now I have trouble with
batch-scripts which return an errorlevel.
The batch worked flawlessly in 4.1 on Windows 2000 and Windows 2003 32bit. I'm
now using Windows 2003 64bit btw.
I've also tried to include the full paths to tail.exe and find.exe, but it
didn't help
The script is:
@echo off
c:\WINDOWS\system32\tail.exe -10 \\computername\c$\dmclient\log\dmclient.log |
c:\WINDOWS\system32\find.exe /i /c "Sending connection Keep Alives [count=20"
&& exit 0
c:\WINDOWS\system32\tail.exe -10 \\computername\c$\dmclient\log\dmclient.log |
c:\WINDOWS\system32\find.exe /i /c
"com.drkw.dm.api.clients.fx.FXClient.onConnectionOK: Connected to Digital
Markets." && exit 0
c:\WINDOWS\system32\tail.exe -200 \\computername\c$\dmclient\log\dmclient.log |
c:\WINDOWS\system32\find.exe /i /c "[ERROR" >counterr.txt
for /f "usebackq delims=" %%g in ("counterr.txt") DO set errorlevel1=%%g
:setexit
exit %errorlevel1%
Kind regards,
Nico Schuijff
The information contained in this email and attachments, if any, is
confidential and may be subject to legal privilege. This email and its
attachments are only intended for the individual(s) or entity(entities) to whom
they are addressed. If you are not the intended recipient please notify the
sender immediately. Any unauthorized dissemination, duplication, publication to
third parties or other use of the contents of this email and its attachments is
forbidden. In the event of incomplete or incorrect transmission please return
the email to the sender. Thank you.
GarantiBank International N.V. is a public limited company established in
Amsterdam and registered with the Trade Register of the Chamber of Commerce and
Industry under number 33225009.
This message has been scanned for malware by GarantiBank International
To unsubscribe send a message with UNSUBSCRIBE in the subject line to
[email protected]
If you use auto-responders (like out-of-the-office messages), make sure that
they are not sent to the list nor to individual members. Doing so will cause
you to be automatically removed from the list.