Auto Launch Bat Script
|
Original Message
|
Name: mikesoong
Date: August 14, 2006 at 18:34:21 Pacific
Subject: Auto Launch Bat ScriptOS: XPCPU/Ram: 256Model/Manufacturer: HP |
Comment: Is there a way to schedule a bat script to run everyday without using AT command or scheduler?
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: Shr0Om
Date: August 15, 2006 at 03:04:48 Pacific
Subject: Auto Launch Bat Script |
Reply: (edit)If you dont want to use a schedulder the batch script would have to be running constantly, checking for some condition. Not so very optimal.. Does it has to run everyday, or only when you boot the pc? If so, you could always add it to win startup folder.
Report Offensive Follow Up For Removal
|
|
Response Number 2
|
Name: Mechanix2Go
Date: August 15, 2006 at 03:33:52 Pacific
Subject: Auto Launch Bat Script |
Reply: (edit)Hi Shroom, Yeah, there must be a few ways to mickey-mouse it. As you say, not great to have a bat run constantly. ===================================== If at first you don't succeed, you're about average.M2
Report Offensive Follow Up For Removal
|
|
Response Number 3
|
Name: mikesoong
Date: August 15, 2006 at 17:41:11 Pacific
Subject: Auto Launch Bat Script |
Reply: (edit)well actually I want it to auto launch on certain dates. I dont want to use scheduler cause I dont want the users to mess up the scheduler.
Report Offensive Follow Up For Removal
|
|
Response Number 4
|
Name: AKL-MFCU
Date: September 16, 2006 at 09:32:34 Pacific
Subject: Auto Launch Bat Script |
Reply: (edit)search for pstools by systernals on the web. One of his programs is called "psexec" which can help network admins run executables over the network on other machines. You can then schedule a task on your machine or a machine your users cannot touch and have it set to do something like this: psexec \\@computers.txt -c c:\yourbatchfilenamehere.bat where computers.txt is a file containing the list of machines you want it to run on. Note: if you get an "access is denied." error, its probabbly needing a user who can run the batch file on that machine if its requiring administrative privileges to complete. to do this you would do: psexec \\@computers.txt -u domainnamehere\usernamehere -p passwordforusernamehere -c c:\batch\defragandreport.bat hope that helps.
Report Offensive Follow Up For Removal
|
Use following form to reply to current message: