|Subject||Windows Error = 2|
I have a problem with running an *.exe. My operating system is Windows XP.
After starting, I get an error message. The program works nevertheless.
Here is my debug file:
Jan 10, 2005 6:53:12 PM java.io.IOException: CreateProcess: C:\Software\Wealth-Lab Developer 3.0\BBLoader.exe/U error=2 at java.lang.Win32Process.create(Native Method) at java.lang.Win32Process.<init>(Unknown Source) at java.lang.Runtime.execInternal(Native Method) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at CommandTask.CommandTask(CommandTask.java:67) at CommandTask.run(CommandTask.java:28)
BBLoader.exe/U is the "comand line" to start my program.
What is strange: Under "all tasks" the program works, if I put it under "Scheduled Task" and have the "Run" marked, I get the error messagel.
Do you have any suggestions?
Thanks for using Automize. 1) Windows Error = 2 is: The system cannot find the file specified.
2) I have no idea why it would work with manual run and not scheduled run. Both run modes are run by the scheduler engine.
3) Are you using the Automize NT service module? Does this problem occur only when Automize NT service is restarted? Does problem go away when Engine is restarted from user interface?
4) Have you tried to use WinCommand task instead of Command task?
-- Sincerely, Melvin Desilva Hitek Software