Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Task Scheduler - Batch File - SendKeys

Status
Not open for further replies.

cumpleby

Technical User
Nov 25, 2011
20
GB
Hi, I have a Batch file that when i run under a Command Prompt works perfect, it connects to a linux server checks the space on the server using sendkeys and outputs this into a File, i then copy this file into a text file. Whenever i try to run this using Task Scheduler the job runs however as it's not populating the command window the sendkeys dont work so it doesnt create the file again so when the copy of the file happens im getting old data. Does anyone know how i can run a batch file through Task Scheduler and still populate the command window?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top