You are here

Can i comment out lines in launcher.ini?

4 posts / 0 new
Last post
Peter8087
Offline
Last seen: 4 years 6 months ago
Joined: 2013-07-06 12:43
Can i comment out lines in launcher.ini?

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

Ken Herbert
Ken Herbert's picture
Offline
Last seen: 6 hours 8 min ago
DeveloperModerator
Joined: 2010-05-25 18:19
The # (hash, aka pound,

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.

Peter8087
Offline
Last seen: 4 years 6 months ago
Joined: 2013-07-06 12:43
I am doing it for my

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?

Ken Herbert
Ken Herbert's picture
Offline
Last seen: 6 hours 8 min ago
DeveloperModerator
Joined: 2010-05-25 18:19
I think that it needs to be

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.

Log in or register to post comments