Autorun does not execute cmd file

msmasuta

Honorable
Jun 28, 2012
1
0
10,510
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.

Thanks.