Originally posted here by guruofall
Hi

Can anybody tell me how to write scripts to run a program or file when we log on to windows(XP).
If all you're looking to do is run a program at logon, you can do that through local policy if you want it for all users, or you can just drag a shortcut to the program to the startup group. No need to write any scripts or even use a .bat file if thats all you want to do.