I would like to know how to write a vbs file such that it can be run as a logon script. Once ran it will wait a given amount of time say 30 seconds while windows is loading and then launch the program with certain /switch1 /switch2 /switch3 parameters. Also if the script could be run either minimized or hidden that would be great.
The reason I need to do it this way is because the program I am running puts an icon down in the taskbar. If the script runs too early before windows is fully loaded there is no taskbar and therefore it doesnt work.