Results 1 to 2 of 2

Thread: Using Windows "scheduled tasks" to launch a .bat file

  1. #1
    Join Date
    Sep 2004
    Posts
    81

    Using Windows "scheduled tasks" to launch a .bat file

    I want to run a .bat file automatically every night. I have referenced the .bat file via Windows scheduled tasks and have tried running the .bat file manually. I can see window briefly flashes but it seems as if .bat file does not gets invoked. I have created a test .bat file and even that's not getting invoked so there's nothing wrong with the original bat file that i am having. I have tried referencing cmd.exe /c "c:\test.bat" in but it did not worked. Please let me know if there is anything that i can try out to run my .bat file.

  2. #2
    Join Date
    Sep 2005
    Posts
    140

    Re: Using Windows "scheduled tasks" to launch a .bat file

    I will suggest you to use cmd.exe /k "the .bat file. In this case window will stay opened and you will be able to see the errors that might be preventing your bat file from getting invoked. If you are not able to deal with the error your self than you can post it here for further help.

Similar Threads

  1. Replies: 4
    Last Post: 12-02-2011, 07:10 AM
  2. Replies: 4
    Last Post: 22-04-2010, 08:24 AM
  3. Replies: 1
    Last Post: 26-11-2009, 02:00 AM
  4. "View Workgroup Computers" is missing from "Network Tasks"
    By Sikudhani in forum Windows XP Support
    Replies: 1
    Last Post: 29-11-2007, 08:18 PM
  5. Replies: 1
    Last Post: 06-11-2007, 02:18 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,713,536,158.28740 seconds with 17 queries