Author |
Message |
motownrv
Joined: 02 Aug 2007 Posts: 2
|
Posted: Thu Aug 02, 2007 7:10 pm Post subject: Script return code: 1 error |
|
|
I am getting a Script return code: 1 error
Log file shows that the transfer works but the "end" script does not
Exit Code: 0. OK.
2007-08-02 11:08:01 : Running script i:\FirewallLogs_end.bat
2007-08-02 11:08:01 : Script Output:
2007-08-02 11:08:01 : End Script Output
2007-08-02 11:08:01 : Script return code: 1
This is the .bat file I am running. Just to see if it works
c:
dir
I am running VVScheduler 2.0.0.3
This is a local script and it is in the same directory as the .fsf file
I would appreciate any help |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Fri Aug 03, 2007 12:02 pm Post subject: |
|
|
What Operative System are you using?
On Windows XP/2000/2003 you can use the EXIT command.
In Windows XP/2000/2003 a new /B switch has been added to the EXIT command, enabling the batch file to quit with a return code:
EXIT /B [ exitCode ] _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
motownrv
Joined: 02 Aug 2007 Posts: 2
|
Posted: Fri Aug 03, 2007 2:05 pm Post subject: |
|
|
Thanks for the reply.
This is running on an NT 4.0 server.
The dir command does not even work within the .bat file. |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Sat Aug 04, 2007 1:23 am Post subject: |
|
|
Thanks, I know there are issues with scripts on NT 4.0 : NT 4.0 seems to return always 1 from a batch file .... _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
|