I know how to make a program start on boot up, but how do I specify the file that I want to start?

Thanks