Note: this is only for educational purposes.
Basically I have created a simple autorun.inf file and placed it in my USB Drive with below options:
[AUTORUN]
OPEN=file.bat
SHELLEXECUTE=file.bat
ICON=red.ico
LABEL=My CD-ROM
USEAUTOPLAY=0
SHELL=ReadMe
SHELL\ReadMe=View README File
SHELL\ReadMe\Command=notepad.exe README.TXT
The only options I could see working are ICON
and LABEL
and nothing else, even though I have added SHELL
option, but cant see no option for readme
while I right click on the USB drive. nor does the OPEN
/SHEELEXECUTE
open the file.bat
which is placed in the same location as autorun.inf
.
is it microsoft that have disabled it for security reasons? or am I missing something?
icon
andlabel
options work.