Sorry, no URL, but I once had the same problem.
Solution:
- Check if the User who is running the scheduler service (system account?)
is allowed to read the batch file.
- We tried to run a batch from a network drive - but the system account only
has access to local drives.
- Use 8.3 file-/directorynames. We had problems using "/Program Files/..."
when we changed to "/progra~1/..." it worked fine for us.

Just my 2 cents (Euro - thats about 1.905 cents in Dollar)

Kind regards
Thomas Rupp
Vorarlberger Illwerke AG



-----Ursprüngliche Nachricht-----
Von: Coats, Jack [mailto:[EMAIL PROTECTED]] 
Gesendet: Donnerstag, 09. Jänner 2003 19:39
An: [EMAIL PROTECTED]
Betreff: DOS Return-Code Primmer for PRECOMMAND and POST processing


Does anyone have a URL or reference for me?  I need to use DOS batch files
to bring down and up an SQL database.
I have the batch file, but it is returning a 1 as a return code and that is
keeping the backups from occurring.
... TIA ... Jack

Reply via email to