Monday, November 29, 2010

Set a program to run automatically (autorun)

Using autorun, you can set a program to start up automatically when you connect the drive to a computer. You can also use the same script for a data CD-ROM, DVD-ROM and USB drives. 
1) Open up notepad and paste the following script:

[autorun]
ShellExecute=filename
Label=description
UseAutoPlay=1

2) Make sure you replace filename with the full path to the file. For example, a file calledprogram.exe in a folder called “programs” on     the thumb drive would be/programs/program.exe

3) Replace description with a short description of the program, for example, My Folder or XYZ.

4) Save the file as autorun.inf.

*Note: Some computers have autorun disabled for security purposes.

Feel free to give your feedback at:
feedback@technoholics.co.in

2 comments: