Improve your productivity and save time.  Let your system work for you.
HiTek Software Home
Subject Windows Exit Code = 3 while running command task
Version 6.x
Date   07/22/2007
Message Dear sir, 

I keep getting the following error in the output log for an event which I run from the command line. 
Apr 29, 2004 5:33:39 AM Command - xml - CreateProcess: J:\GJCWIN\SBBWIN.EXE JONAS.INI J:\gjcwin\CreateXML.pvx -ARG J:\GJCWIN\ D:\GolfRez\w4\accinq\ 01 2 error=3 

If I run the same command form the desktop or command line it works with no issues. 

Any suggestions?

Reply1 Hi Stuart, 
Thanks for using Automize. 
1) List of windows error codes are at:  
error 3 = The system cannot find the path specified. 
2) Generally, this error 3, occurs if you have not entered the correct working directory. However, you have entered the full path to executable on the commandline which should overide the working directory. What is the working directory you entered? Working directory should be: J:\GJCWIN 
3) If this is a network drive, and you are using the NT service module, make sure that you are using UNC conventions when referring to mapped drives:  
4) Does the task fail in NT service context, but run fine when engine is started by user interface? 

To verify that it is not a NT service issue, do the following: 
Stop the Automize service from the service control manager. 
Start the engine from the Automize user interface and run the task again. Does the task run in this mode? 

If you still have problems, Send us your Automize data files using the Help menu / Email support generator. It may show us some more information. 

-- Sincerely, Melvin Desilva Hitek Software