Excellent, thanks.
So, quotes are only required for specifying multiple registry keys/folders/files?
About 'multiple', Where is this acceptable? ie, Can I use for
deletefiles and
deletefolders if these were put in quotes and separated with '|', or some other way? I suppose it is better on separate lines, for
deletefiles as there could be many and also overcomes character limits, if there are any in AutoRunMenu. But allowing a mixture of both keeps it tidier? Dunno, what do you think about that?
An example in
X-Launcher.ini where there is a character limit and I have deleted all language files for SoftMakerFreeOffice:
I'm not sure how this would actually work either:
Code: Select all
deletefolders="%LOCALAPPDATA%\Smart Code ltd\"
Would it delete the system AppData\Local folder or the one in Stremio's User\AppData folder? I was using it to try and delete the one in the system folder, as during testing, I had to manually delete all folders to make sure I knew what was happening. Should've used Absolute paths really I suppose. And I'm guessing that using relative paths will delete the folder I want to keep in the apps folder?
That said, I tried to add a command to delete a folder "Stremio\User\Microsoft" but again, it won't work using:
deletefolders="%backuppath%\Microsoft" - EDIT:
deletefolders="%USERPROFILE%\Microsoft" Works ok!
One thing, is the trailing \ really necessary? I haven't been adding it, although I have tested with and without, and it seems not to be required. Btw, the
%backuppath%=User works for adjusting the AppData paths but not for deleting folders.
Will the extra | make the need for
backuppath= unnecessary?
It's good that you've added those EnvVar's to the menu, but I for one will never use it. I think it would be a better option to just include an INI file with those in. That way people who don't use the menu still have a reference.
There is another issue, sort of. More of a limitation. As you can only have one AutoRun.inf file in the root folder, you can only use one AutoRun launcher. So, in the case of SoftMakerFreeOffice, you can't have a set of launchers in the root folder. If we could have a way of each Launcher activating a different button without the menu showing that would be helpful. Perhaps when you launch it checks the filename against the name of the buttons and launches one with the same name?
Look forward to the update.
![Very Happy :D](./images/smilies/icon_biggrin.gif)