Step 1: The Autorun.inf File
Step 2: Finish
***Extras***
Step 3: Example
Step 4: Running multiple programs automatically
Step 5: Fixing the Music Bug
Step 6: Other autorun.inf tricks
Step 7: Adding a background to the USB Drive
Step 8: Credits
This is my first instructable so comments are very welcome. Thanks.
Remove these ads by
Signing UpStep 1The Autorun.inf File
In Notepad (or another text editor) type or copy and paste the following
[Autorun]
shellexecute=someprogram.exe
useautoplay=1
Replace "someprogram.exe" with the program you want to run, usually a .exe file. Make sure theprogam file is stored on the root of the jump drive or include the directory.
Example
Notepad.exe is stored at "E:\programs\Text\notepad.exe" so you would replace "someprogram.exe" with ".\programs\text\notepad.exe" .
Save this as Autorun.inf and move it to the root of your jump drive.
Explanation of the Autorun.inf File
The first line identifies this as an Autorun file, the second line defines
the default command, and the third line tells the computer to run the default command
automatically.
| « Previous Step | Download PDFView All Steps | Next Step » |











































1)a-Press Windows key and R at the same time
b-Type 'cmd' and press enter
c-Type 'attrib +s F:\autorun.inf' and press enter
that forces the system to recognize the autorun.inf file if it wasn't
2) replace your batch file with a program like calc.exe to make sure it's not just a problem with batch files
I should note that Vista and Windows 7 disabled the autorun feature.
I need more information like Operating System and jumpdrive manufacture to help out more.
Hoping this helps
~NeverWrex
cd /d E:\
attrib -h -s desktop.ini
Then it will be visible and allow you to delete it. Hope it helps, let me know if it doesn't.