Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Task Schedule batch file

Reply
Thread Tools Display Modes

Task Schedule batch file

 
 
donator
Guest
Posts: n/a

 
      04-03-2007
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
 
 
 
 
Norbert
Guest
Posts: n/a

 
      04-03-2007
Do you have a password setup for your user. Mine tasks won't execute without
one.


Good luck,


"donator" <dontor@!charter.net> wrote in message
news:...
>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
 
donator
Guest
Posts: n/a

 
      04-03-2007
Yes I do. Both users and admin have passwords. Don't know that it makes a
difference, but this is Visata Business.

"Norbert" <> wrote in message
news:10008286-839E-472A-8EB6-...
> Do you have a password setup for your user. Mine tasks won't execute
> without one.
>
>
> Good luck,
>
>
> "donator" <dontor@!charter.net> wrote in message
> news:...
>>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
 
phctech
Guest
Posts: n/a

 
      04-12-2007

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

Regards
Pete


--
phctech
 
Reply With Quote
 
roberts124
Guest
Posts: n/a

 
      04-20-2007

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 :-)

Jeremy


--
roberts124
 
Reply With Quote
 
Stockholm
Guest
Posts: n/a

 
      01-03-2009

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

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

Am I doing something wrong

--
Stockhol
-----------------------------------------------------------------------
Stockholm's Profile: http://forums.techarena.in/members/stockholm.ht
View this thread: http://forums.techarena.in/vista-help/718783.ht

http://forums.techarena.i

 
Reply With Quote
 
eaglehot59
Guest
Posts: n/a

 
      02-03-2009

Task -> Actions -> Edit

....
Start in (optional): [put your batch file directory

--
eaglehot59
 
Reply With Quote
 
phctech
Guest
Posts: n/a

 
      03-09-2009

Try

Cmd /c C:\BatchFile\Ftp.bat

/c = carry out command and then terminate

Regards
Pete


--
phctech
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Task Scheduler and Robocopy Batch Job bobneedshelp Windows Vista General Discussion 5 11-29-2007 03:28 PM
How to start a schedule task from remote computer. Colin Han Windows Vista General Discussion 5 07-25-2007 12:48 PM
Task scheduler ONEVENT Schedule Frequency. Wake-Up-Jeff Windows Vista General Discussion 3 07-04-2007 09:13 PM
How do I Schedule a Task on Disk Mount Julian Windows Vista Administration 0 07-03-2007 07:10 AM
Schedule Task totomaster Windows Vista Performance 12 06-26-2007 03:20 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59