I am Adel and I am creating an program and I want to save it into an USB and auto run it whenever the USB is inserted to any Windows device, the problem is that the code that I use in Autorun.inf doesn't work. The files in the correct path and the Autorun.inf file in the root of the USB, but it's not working! NOTE: the exe also works
The code:
[Autorun]
Icon=USBSYS\icon.ico
open=USBSYS\file.exe
action=MyUSBName
Label=MyUSBName