Hello, I have created a batch file to run a program. I then created autorun.inf file to execute the batch file and put both the batch file and autorun file at the root of USB drive. I have the following code in the autorun file.
[autorun] OPEN=PSMenu.cmd ICON=.\PSMenu\psmenu.exe LABEL=My Name
When I insert the USB, it does label the drive as My Name and also displays the icon, But it does not execute the batch file.
Any help will be greatly appreciated.
More aboutautorun execute file
try with adding this line : ShellExecute=PSMenu.cmd
and check your batch script manually for errors or post the script here.