Is it possible to comment out lines in launcher.ini as this is done in autohotkey scripts? In AHK script you can comment out line as you put ";" in front of the line. Is it possible something like this to be done with launcher.ini
New: DesktopSnowOK (Jan 6, 2025), Platform 29.5.3 (Jun 27, 2024)
1,100+ portable packages, 1.1 billion downloads
No Ads Nov/Dec/Jan!, Please donate today
Is it possible to comment out lines in launcher.ini as this is done in autohotkey scripts? In AHK script you can comment out line as you put ";" in front of the line. Is it possible something like this to be done with launcher.ini
The # (hash, aka pound, symbol) can be used to comment out lines in most, if not all, variations of .ini files.
If you are doing it for development purposes, cool. If you are trying it on existing official apps just be aware that commenting out certain lines may make a particular portable app not function correctly, leave files/folders/registry entries behind, or potentially not work at all.
I am doing it for my applications and i just want to insert notes with instructions to some commands. Like this, for example:
[Launch]
ProgramExecutable=AppName\AppName.exe # Specify the program to be launched
or
[RegistryKeys]
#Backup/Restore registry
#Kindle=HKEY_CURRENT_USER\Software\Amazon
or
[RegistryKeys]
#Kindle=HKEY_CURRENT_USER\Software\Amazon # backup/restore registry
Can i use any of these ways to comment out lines?
Also, just to clarify, when a line has # in front like #Kindle=HKEY_CURRENT_USER\Software\Amazon, it will be ignored by the launcher, correct?
I think that it needs to be the first character on the line, so your first example won't work, but your other two should be fine.