that is used in the Autoplay dialog for the handler representing the program specified in the open or shellexecute entry in the media's Autorun.inf file.Ī string that contains the fully qualified path of the directory that contains the binary file containing the string. The value can be expressed as either text or as a resource stored in a binary. The action entry specifies the text that is used in the Autoplay dialog for the handler representing the program specified in the open or shellexecute entry in the media's Autorun.inf file. I cannot find any documentation that explain if they need to be in a specific order either.Įdit: I've also tried to edit the registry key 3 NoDriveTypeAutoRun in Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer to decimal 145 (hex 0x00000091) but this did not work either.This topic is a reference for the entries that can be used in an Autorun.inf file. I've also tried to use commands such as run or start in the open-option. I've also tried to only use open alone with action, label and icon. Open=mysubfolder/myprogram.exe -myparameterīut neither autorun of the exefile, shell\verb or the open command works as expected. Shell/myverb/command=mysubfolder/myprogram.exe -myparameter My autorun file is located in the root folder, some of the features seem to work, namely label= and icon=.
One thing I noticed in the msdn shell_verb was the inconsistent usage of / and \ throughout this manual-I tried both ways but either seemed to work (I assume that it should be \). I've also looked at several other questions here 1 2, and made sure AutoRun is enabled and disabled the group policy as explained in this answer. So far I have had no luck using the information provided by msdn. exe file from a subdirectory with parameters. I'm trying to configure autorun.inf on a DRIVE_REMOVABLE tagged USB flashdrive to run an.