Norton Ghost 15 command file fails with Error EBAB03F1: Incorrect function. (UMI:V-281-3215-6071)

I am rying to run a batch file from Norton Ghost to create a taks with Task Scheduler in Windows 7. The batch file is one line long:

 

schtasks /create /f /tn ghostlogproc /tr d:\systemadmin\cmd\testfile.bat  /np /sc once /st 16:10

 

If I run the batch file from the command line, it executes with no problem. As soon as I try to run it as a command file in any ghost backup phase, I get the error message. BTW, the start time is well into the future, so I'm not getting a message that the start time is in the past.

 

Here is the error message from the Windows application log file:

 

Error EC8F17B7: Cannot create recovery points for job: test. Error EC8F0401: The command file (before data capture) failed to execute. Error E0BB009C: External command "D:\SystemAdmin\Cmd\testfile.bat" returned an error. Error EBAB03F1: Incorrect function. (UMI:V-281-3215-6071) Details: Source: Norton Ghost

 

What does 'incorrect function' mean in this context, or how can I find out what Ghost is really complaining about?

Thanks, but inserting CALL resulted in a syntax error for the schtasks command.

Sorry, I can see now how that may not work.  testfile.bat is the task to run and I don't see how to pass that back to the first command box.

But I think thats exactly the problem you had from the start. The first batch file opens one instance of cmd.exe and the second batch file you are running or calling is opening a second instance of cmd.exe

 

Is that the behavior you saw originally, you ended up with 2 open command boxes verses only one box when you manually opened cmd.exe and then tested your entire command?

 

Is there a reason why you can't just add the contents of testfile.bat to your first command file?

I'm guessing you made it that way because it changes?

 

Dave

 

Edit- What exactly are you trying to do?

Since your creating a scheduled task only to run it once, couldn't it be done an easier way?

 

 

thanks for your reply. I only get one command window when I run the batch job manually.

 

What I'm trying to do is run some post processing after the backup has completely finished and all of the log messages have been posted. My job needs to parse the messages and take action accordingly. I've found so far that if I execute a command file in the 'Run after recovery point creation' stage, ghost waits until my command file has finished before going on to the last steps and writing to the log file. I figured a way to let ghost finish first was to set up the job in schedler with a delay that would allow Ghost to finish its processing.  I can run the batch job successfully from other programs (such as perl), but as soon as I put it into Ghost, it fails. I'm starting to think it's something about the schtasks command that Ghost doesn't like, but the error isn't providing any clues.

 

 

Are your CMD \ BAT files located locally and not on a network, such as a mapped drive?

I am rying to run a batch file from Norton Ghost to create a taks with Task Scheduler in Windows 7. The batch file is one line long:

 

schtasks /create /f /tn ghostlogproc /tr d:\systemadmin\cmd\testfile.bat  /np /sc once /st 16:10

 

If I run the batch file from the command line, it executes with no problem. As soon as I try to run it as a command file in any ghost backup phase, I get the error message. BTW, the start time is well into the future, so I'm not getting a message that the start time is in the past.

 

Here is the error message from the Windows application log file:

 

Error EC8F17B7: Cannot create recovery points for job: test. Error EC8F0401: The command file (before data capture) failed to execute. Error E0BB009C: External command "D:\SystemAdmin\Cmd\testfile.bat" returned an error. Error EBAB03F1: Incorrect function. (UMI:V-281-3215-6071) Details: Source: Norton Ghost

 

What does 'incorrect function' mean in this context, or how can I find out what Ghost is really complaining about?