how can I let tc ingore a string in the ini file?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
giulia
Senior Member
Senior Member
Posts: 303
Joined: 2013-09-14, 05:33 UTC
Location: Europe

how can I let tc ingore a string in the ini file?

Post by *giulia »

Hi
i would like to let sometime ignore a string in the ini file

for example , and it's just an example

Code: Select all

StartupScreen=0
:: -> should let total ignore this string

Code: Select all

::StartupScreen=0
may i know if the right way to let tc commander ignore a string?
thanks
love Total Commander , best file manager ever made
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: how can I let tc ingore a string in the ini file?

Post by *Dalai »

INI files can contain comments when the line starts with a semicolon. So

Code: Select all

;StartupScreen=0
will work.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
giulia
Senior Member
Senior Member
Posts: 303
Joined: 2013-09-14, 05:33 UTC
Location: Europe

Re: how can I let tc ingore a string in the ini file?

Post by *giulia »

Dalai wrote: 2021-06-10, 14:55 UTC INI files can contain comments when the line starts with a semicolon. So

Code: Select all

;StartupScreen=0
will work.

Regards
Dalai
hi
thanks
love Total Commander , best file manager ever made
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: how can I let tc ingore a string in the ini file?

Post by *Usher »

2giulia
Note that when TC make changes in sections other than [Configuration], it may move edited section to the end of the ini file and leave commented lines outside of that section.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: how can I let tc ingore a string in the ini file?

Post by *ghisler(Author) »

Some sections like history or button bar are written as a whole, so comments in these sections may get lost.
Author of Total Commander
https://www.ghisler.com
giulia
Senior Member
Senior Member
Posts: 303
Joined: 2013-09-14, 05:33 UTC
Location: Europe

Re: how can I let tc ingore a string in the ini file?

Post by *giulia »

ghisler(Author) wrote: 2021-06-10, 20:29 UTC Some sections like history or button bar are written as a whole, so comments in these sections may get lost.
Usher wrote: 2021-06-10, 18:18 UTC 2giulia
Note that when TC make changes in sections other than [Configuration], it may move edited section to the end of the ini file and leave commented lines outside of that section.
hi
thanks for the information
love Total Commander , best file manager ever made
Post Reply