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

Sponsored Links



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

Windows Security


Reply
 
Thread Tools Search this Thread
  #1  
Old 19-02-2008
Member
 
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.

Reply With Quote
  #2  
Old 19-02-2008
Member
 
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.
Reply With Quote
Reply

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



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Using Windows "scheduled tasks" to launch a .bat file"
Thread Thread Starter Forum Replies Last Post
Card reader error "Device canít start code 10" "WPD file system volume driver" in windows 7 Musharat Operating Systems 4 12-02-2011 07:10 AM
Windows 2003 WSUS Clients Hanging at "Windows Is Shutting Down..." After Scheduled Patch Install and Auto-Reboot rasena Server Update Service 4 22-04-2010 09:24 AM
"Scheduled Tasks" share does NOT show up when browsing with UNC Yann Windows Server Help 1 26-11-2009 02:00 AM
"View Workgroup Computers" is missing from "Network Tasks" Sikudhani Windows XP Support 1 29-11-2007 08:18 PM
Adding commands to "Folder Options/Edit File Type/Actions" grayed-out "Edit" & "Remove" Green_XP Windows XP Support 1 06-11-2007 02:18 PM


All times are GMT +5.5. The time now is 07:16 PM.