Vista Business Task Scheduler

G

Guest

I have several batch files that ran well under XP and I cannot get them to
run under Vista Business. Double clicking on the files makes them run fine.
Scheduling them in the Task Scheduler starts the cmd.exe process but no DOS
window opens and the process terminates only when I do it manually. This is
true for as simple a batch file as
@echo off
echo Hello World
Pause
I have tried everything and nothing works.
 
J

Jon

JoseR said:
I have several batch files that ran well under XP and I cannot get them to
run under Vista Business. Double clicking on the files makes them run
fine.
Scheduling them in the Task Scheduler starts the cmd.exe process but no
DOS
window opens and the process terminates only when I do it manually. This
is
true for as simple a batch file as
@echo off
echo Hello World
Pause
I have tried everything and nothing works.


The only thing I can think is that you're scheduling them using a different
account than the one you're logged in with, so the UI is thrown up
elsewhere.
 
G

Guest

Jon:
The batch I really want to run is a "backup" batch that has a series of
xcopy commands. In between there are dos commands to write to a file in
order to check if xcopy commands were done. Today I found that the xcopy
commands were actually performed, but the file was not written to. I will
try adding a path to the file. I have already checked for the file being
placed somewhere else, and it was not.

JoseR
 
G

Guest

To All:
I FInally got everything to work. For all those having the same
problems transferring DOS batch scheduled tasks from WindowsXP to Vista:
1. Mapped drives are not recognized and UNC paths are needed
2. All files named in the batch need to have completely qualified paths

HTH

JoseR
 
G

Guest

I am having similar problems. Originally tried to use DOS batch files using
xcopy to backup data files from a mapped network drive to a local removeable
drive. Subsequently rewrote the batch files in Vista using Notepad,
rescheduled them, then changed the mapped drive to the full network address.
I am definitely logged on as the correct user but set the switch to run
irrespective of user logon as a precaution. The Task Scheduler says the
tasks are running but nothing appears to happen and the files certainly do
not reach the target drive. The Scheduler never terminates the task.

Any advice would help.

Bernard Lynch
 

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