Results 1 to 7 of 7

Thread: Task Schedule batch file

  1. #1
    donator Guest

    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.

  2. #2
    Norbert Guest
    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.

  3. #3
    phctech Guest

    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

  4. #4
    roberts124 Guest

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

  5. #5
    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 ?

  6. #6
    eaglehot59 Guest
    Task -> Actions -> Edit

    Try

    Cmd /c C:\BatchFile\Ftp.bat

    /c = carry out command and then terminate

  7. #7
    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

Similar Threads

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

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,005,524.10244 seconds with 17 queries