Ever look at AUTORUN? http://www.google.com/search?hl=en&q=autorun+cd&btnG=Google+Search
And why not write the text file from your code?
I do web programming, but now need to create a desktop application.
Basically, the application will sit on a USB memory stick. Upon insertion of the USB stick, I want a dialog box to pop up asking for a username and password.
Upon correct authentication, I then want a text file to open up. I don't want the text file accessible until the user has successfully authenticated.
What is the best way to accomplish this for Windows?
I don't mind learning a new programming language for this.
I do both procedural, and OOP.