How can I start a program when the operating system boots? I'm trying to cover my program through a variety of OS, so I'm trying to avoid using Systray on Windows XP. If the systray is the only way, please tell me how I can get my program there. And say I wanted to create a couple of files called myfile.txt. How can I stop my program from overwriting files with the same name? Or rather how can I keep on adding a different number to the end of each file name, that has not been used, to stop it from overwriting?