Author |
Message |
KenMathers
Joined: 03 Apr 2008 Posts: 4
|
Posted: Tue Jul 15, 2008 4:26 am Post subject: Custom Script return codes |
|
|
I cannot get any custom script to work because they always exit with a Return Code of 1. My bat file is VERY simple and just has the following:
IF EXIST token.txt SET ERRLEV=0
goto end
set ERRLEV=1
:end
exit /B %ERRLEV%
I'm running Windows XP SP2 and I am using the EXIT /B 0 syntax
But no matter what Exit code I put in my script, ViceVersa always says that it received an exit code of 1
I have a Global Script that DOES work.
Can anyone supply me with a simple script that checks for the existence of a token. If the token is there, let the compare/execute run. If the token is NOT there, stop it running.
I tried making my bat file REALLY simple with nothing in it but an exit /B 0 but it still reports as an error level 1 in ViceVersa |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8769
|
Posted: Thu Jul 17, 2008 3:06 am Post subject: |
|
|
Hello Ken, I replied to the e-mail you sent to support, please let me know if this issue was solved, thank you. _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © phpBB Group
|