Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , ,

Sponsored Links



schtasks to call batch file.

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 13-03-2007
Member
 
Join Date: Mar 2007
Posts: 1
question schtasks to call batch file.

hello,

i have a .bat file that executes the .sql. This batch files executes sucessfully if executed at the commnad prompt and gives the required result.

However when I schedule this .bat file to execute through the schedular using the schtasks command, it doesnt work.
can anybody pls help me on this. i need to schdule this batch file at a regual interval.


batch file looks something like this :
@echo off
for /f variable_name in ('sql command with all required parameters') do (
something
)
remaining_code
Reply With Quote
Reply

  TechArena Community > Software > Software Development


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "schtasks to call batch file."
Thread Thread Starter Forum Replies Last Post
Windows Batch file to output directory names and size to txt file m2thearkus Software Development 6 16-07-2010 01:04 AM
Dos batch file to sort files based on file names. Jon Osborn Windows Server Help 9 17-06-2009 12:06 PM
Batch file to copy a file from the local drive to a computer on lan? dudelearn Tips & Tweaks 3 12-03-2009 01:56 PM
Several. Msc window from a batch / script call? Stephanatic Technology & Internet 2 26-11-2008 05:26 PM
scheduled printing of a text file using batch files or schtasks Gadgetman Windows XP Support 18 13-06-2008 12:48 AM


All times are GMT +5.5. The time now is 01:37 AM.