Hello everyone,
This tuesday I will have to do a presentation and wanted to have everything go streamlined. As such, I searched online how to create an autorun file so that when I inserted a USB the program would automaticly open.
This is the script I used:
[autorun]
Icon=insertname.ico
Label=insertname
;Open=insertname.exe
ShellExecute=insertname.exe
UseAutoPlay=1
I saved it on the USB as a ".inf" file and obviously I updated the information of the "insertname" to the actual file names, but I can't seem to get the autorun to work. Whenever I plug the USB in, it says there is a problem with reading the USB, however, when I open the USB normally by going to file explorer, all the files are there and I can open the exe manually. I'd really like for this autorun to work so I don't have to do all this manually when I do the presentation. Does anybody know what my problem is?
This tuesday I will have to do a presentation and wanted to have everything go streamlined. As such, I searched online how to create an autorun file so that when I inserted a USB the program would automaticly open.
This is the script I used:
[autorun]
Icon=insertname.ico
Label=insertname
;Open=insertname.exe
ShellExecute=insertname.exe
UseAutoPlay=1
I saved it on the USB as a ".inf" file and obviously I updated the information of the "insertname" to the actual file names, but I can't seem to get the autorun to work. Whenever I plug the USB in, it says there is a problem with reading the USB, however, when I open the USB normally by going to file explorer, all the files are there and I can open the exe manually. I'd really like for this autorun to work so I don't have to do all this manually when I do the presentation. Does anybody know what my problem is?