I wanted a simple easy way of running a command everytime I started my Windows XP PC.
After coming across many ways fo doing this, here is the simplest and easyest way that worked for me.
Steps as below:
1. Determine what you need to be invoked (in my case a drive mapping command that maps my most used folders into drives for ease of use).
2. Go to Start -> Control Panel -> Scheduled Tasks -> Add Scheduled Task.
3. Click Next and then browse the file ( This could be a .bat, any program or anything else you need invoked).
4. Click Next. and Select How frequent you need this task invoked.
Options are:
Daily
Weekly
Monthly
One Time Only
When my computer starts
When I log on.
5. Click Next. Enter the necessary details, restart and Viola..
It should work!!