I've made a .bat file to install a mod to a game, and I've put it on a CD along with all the mod components. The installer works correctly, however the autorun.inf refuses to open the .bat file. The code from the autorun.inf is as follows...
[autorun]
open=myfile.bat
label=mylabel
Icon=myicon.ico
Name=myname
When I insert the CD, I get an error saying that it could not find the application, which makes me believe that an antorun.inf will only open .exe files. If I add a D:\ before the myfile.bat, it works normally. However, I want this to work even if its not on drive D. If anyone has any insight or advice as to my predicament, it would be greatly appreciated.
[autorun]
open=myfile.bat
label=mylabel
Icon=myicon.ico
Name=myname
When I insert the CD, I get an error saying that it could not find the application, which makes me believe that an antorun.inf will only open .exe files. If I add a D:\ before the myfile.bat, it works normally. However, I want this to work even if its not on drive D. If anyone has any insight or advice as to my predicament, it would be greatly appreciated.