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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2 question about SCHTASKS 1

Status
Not open for further replies.

2009luca

Programmer
Jul 27, 2013
222
IT
Code:
SCHTASKS /CREATE /SC MONTHLY /D 15 /TN "MyTasks\Notepad task" /TR "C:\Windows\System32\notepad.exe" /ST 11:00

this code add a new task schedule.

1) instead to use all month how to modify the code line for: march, april and june?
2) how to lunch thei code via VB6.

taths is all.
Tks.
 
Code:
[blue]Shell "SCHTASKS /CREATE /SC MONTHLY /M MAR,APR,JUN /D 15 /TN """ & "MyTasks\Notepad task" & """ /TR notepad /ST 11:00"[/blue]
 
tks strong the code work!
sORRY FOR DELAY BUT VERY BUSY.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top