AutorunSubmitted by nicholas.alipaz on May 14, 2008 - 7:03pm
Is there a way to have more than one option using the autorun.inf with autorun.bat? two scenarios: 1: open these apps ??? ( categories: )
|
AutorunSubmitted by nicholas.alipaz on May 14, 2008 - 7:03pm
Is there a way to have more than one option using the autorun.inf with autorun.bat? two scenarios: 1: open these apps ??? ( categories: )
|
Via Autorun
If I understand cleary, you want the opportunity to open two different sets of applications, right? It's possible, you have to create two batch files (application set 1, application set 2), then modify your autorun.inf file as follows:
Instead of batch files, you can write simple NSIS scripts, if you familiar with those.
Thanks for the response,
Thanks for the response, that looks to be exactly what I am looking for. What is the advantage of using an NSIS script over a batch file?
If it is significantly better then will go that route.
Pro/Kontra
Advantages:
- no black console window upon executing (however, hstart is an alternative too)
- a possibility of the more sophisticated program control
Disadvantages:
- you have to recompile the script after you edit it
- the executable is slighlty larger than a single .bat file
That's all I guess.
Actually, now that I look
Actually, now that I look deeper into it, that seems to create extra context menu items for the usb drive, am I wrong?
If this is correct, that is not quite what I am after. I would like to be able to add another icon in the autorun window that pops up when inserting the drive.
Icon 1: Open My Apps
Icon 2: Open My OTHER Apps
Thanks again for your time
Not possible
I'm afraid this is not possible - the autorun window only able to display the one and only entry from your autorun.inf file, the one you specified with "open", as far as I know.
Thanks for letting me
Thanks for letting me know..
IMO this would be a really nice customization if anyone can figure out a solution in the future.