Go Back   TechArena Community > Technical Support > Computer Help > Windows Vista > Vista Help
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Task Schedule batch file

Vista Help


Reply
 
Thread Tools Search this Thread
  #1  
Old 03-04-2007
donator
 
Posts: n/a
Task Schedule batch file

I have a batch file (ftp) which works just fine when I manually run it. When
I set it up in Task Scheduler, status says it runs, but the cmd window pops
open a second, nothing there, and closes. I have it set to run when user is
logged on, and run with highest privileges. Well, I have tried all sorts of
combos. When run fron Task Scheduler, it says Queened in the status column.
I'm out of ideas.

Reply With Quote
  #2  
Old 04-04-2007
Norbert
 
Posts: n/a
Do you have a password setup for your user. Mine tasks won't execute without
one.

Yes I do. Both users and admin have passwords. Don't know that it makes a
difference, but this is Visata Business.
Reply With Quote
  #3  
Old 12-04-2007
phctech
 
Posts: n/a
Re: Task Schedule batch file

When you need to edit the schedule run command to "cmd /c
Batchfilename.bat"
This allows windows to run the command prompt for executing the batch
file. Otherwise the batch file will not execute
Reply With Quote
  #4  
Old 20-04-2007
roberts124
 
Posts: n/a
Re: Task Schedule batch file

I don't suppose I could get you to post your script info (minus your
personal info obviously)? I am struggling to build an ftp batch file
that I could load for some lesser capable folks I work with for
uploading files to my ftp when they are away. There is almost nothing
posted on how to do this in 2k/xp and vista. Many thanks in advance if
you would :-)
Reply With Quote
  #5  
Old 03-01-2009
Member
 
Join Date: Jan 2009
Posts: 9
Re: Task Schedule batch file

Hello, we have the same problem using XP Professional and I have tried;

In Task [ C:\BatchFile\Ftp.bat ] and
In Task [ Cmd / C:\BatchFile\Ftp.bat ]

Am I doing something wrong ?
Reply With Quote
  #6  
Old 03-02-2009
eaglehot59
 
Posts: n/a
Task -> Actions -> Edit

Try

Cmd /c C:\BatchFile\Ftp.bat

/c = carry out command and then terminate
Reply With Quote
  #7  
Old 15-02-2010
Member
 
Join Date: Feb 2010
Posts: 1
Re: Task Schedule batch file

Two things:
1. cmd /c "name of batch file" (without quotas)
2. run as group "administrators", this thing was solve my prob
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Vista > Vista Help
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Task Schedule batch file"
Thread Thread Starter Forum Replies Last Post
Group Policy for Schedule Task samit Active Directory 3 11-01-2014 10:23 AM
FTP Upload batch file doesn't work properly in Task Scheduler supphavith09 Windows Server Help 1 09-02-2012 07:39 AM
schedule task problem in Server 2003 Watcher07 Operating Systems 4 16-02-2009 09:32 PM
XP Schedule Batch file Stockholm Windows Software 3 03-01-2009 09:36 AM
Problems running batch file as scheduled task pete0085 Windows Server Help 7 01-01-2009 03:15 PM


All times are GMT +5.5. The time now is 08:33 PM.