A Batch file question

D

Don Sutter

Hi!

I'm at wits end!* I can't seem to get the following simple batch file to run
under Windows XP Scheduled Tasks, yet the very same batch file runs just
fine manually on XP and runs just fine as a scheduled task under W2K. It's
scheduled to run as DOMAIN/Administrator and the password is correct.

@echo off
set > \\chandler\data$\test.set

I get a completion code of 0x80. Can someone tell me where the secret list
of completion codes is kept?

I just know it's gotta' be something stupid but I just can't figure it out.
Anyone?

Don

*A little humor for anyone old enough to remember the original Colossal Cave
Adventure game.
 
S

Sandeepan Sanyal [MSFT]

When you are scheduling, you need to give full path even for cmd.exe as
well.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top