Tech Support > Microsoft Windows > I want to schedule a task after windows starts up
I want to schedule a task after windows starts up
Posted by ceohotmail on January 16th, 2006


I dont want to run it just at start up , but to schedule it to run after some
1 minutes of windows start up +logon AND is now sitting idle

For example :
I want my music playlist to start playing when i start my computer , after
some time when things stablize (after windows has loaded everything and i
have done some important work , and took a break of abt 1 mins)

I dont want to put it in start up so that it still slows (relative) down my
PC when starting up and fighting for resources. how do i do it...


a step-by step working eg would be great


Posted by Ramesh, MS-MVP on January 16th, 2006


Option 1
======

Using WSH - Sleep Method:
http://msdn.microsoft.com/library/de...ff61e8c996.asp

Sample script:
- - -
Set WshShell = WScript.CreateObject("WScript.Shell")
WScript.Sleep 60000
WshShell.Run "wmplayer.exe " & "F:\Album\TamilSongs.wpl"
Set WshShell = Nothing
- - -

Copy the above lines to Notepad and save as "PlaySongs.vbs". Alter the album
file name/ Path accordingly. Then place the file to the Startup folder.


Option 2:
======

Create a .BAT file, and use the sleep.exe add-in from Microsoft.

"Sleep.exe: Batch File Wait" - Part of Windows XP/Server 2003 Resource Kit
Tools:
http://www.microsoft.com/downloads/d...displaylang=en


--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


"ceohotmail" <ceohotmail@discussions.microsoft.com> wrote in message
news:E26B2D95-A6E4-457C-916A-1EB98AB279E3@microsoft.com...
I dont want to run it just at start up , but to schedule it to run after
some
1 minutes of windows start up +logon AND is now sitting idle

For example :
I want my music playlist to start playing when i start my computer , after
some time when things stablize (after windows has loaded everything and i
have done some important work , and took a break of abt 1 mins)

I dont want to put it in start up so that it still slows (relative) down my
PC when starting up and fighting for resources. how do i do it...


a step-by step working eg would be great




Similar Posts