I want to schedule a task after windows starts up

G

Guest

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
 
R

Ramesh, MS-MVP

Option 1
======

Using WSH - Sleep Method:
http://msdn.microsoft.com/library/d...html/af46bac4-3d73-4340-91f8-5bff61e8c996.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/...69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en


--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top