0

I have a autorun.inf file in my pendrive to to run a bat file automatically whenever i plug my Pen drive in my system. The autorun.inf code is as below

[autorun]
Icon=bat.ico
Label=Murali Manohar
Open=check.bat
ShellExecute=check.bat
UseAutoPlay=1

The rest of that are working fine. I can see my icon got changed and the name of my pen drive too changed. But the bat file seems to be not running

the below is what i have in my bat file

mkdir Murali

But i don't find anything due to this bat file.

Note:

1) I tried to plug the pendrive in Windows 8 Operating system.
2) auto-run turned on in Windows

Murali Manohar
  • 589
  • 7
  • 35

0 Answers0