TC ignores /i switch if using colon instead of equal sign

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Valentino
Power Member
Power Member
Posts: 709
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

TC ignores /i switch if using colon instead of equal sign

Post by *Valentino »

TC ignores /i command line switch if IniFileName parameter is present in registry.
I wanted to test "clean" install by specifying /i in command line, but TC ignored it until I removed IniFileName from the registry.
Tested 8.0 and 8.1 (32 and 64 bit) on Windows 7 64 bit.

P.S. Seems like TC totally ignores /i (even if IniFileName is not present in the registry). Am I doing something wrong? Can someone try it?
Last edited by Valentino on 2012-08-07, 08:53 UTC, edited 1 time in total.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7014
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

/i=name.ini works fine here.
Tested under Windows 7 x64 with TC 8.01 x86 and x64
User avatar
petermad
Power Member
Power Member
Posts: 16118
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Valentino

You have to use full path to the .ini file
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Valentino
Power Member
Power Member
Posts: 709
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

The problem was that I used colon instead of equal sign :)

C:\TotalCmd\TotalCmd.exe /i:c:\TotalCmd\config\qqq32.ini
->
C:\TotalCmd\TotalCmd.exe /i=c:\TotalCmd\config\qqq32.ini

Christian, you may consider this as a suggestion.
Moderators, please move the topic.
User avatar
white
Power Member
Power Member
Posts: 5988
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

[mod]Moved to Suggestions forum.

White (moderator)
[/mod]
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Don't think that it should be supported in a ten ways. All TC parameters work with the equal sign.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7014
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

Valentino wrote:The problem was that I used colon instead of equal sign :)

C:\TotalCmd\TotalCmd.exe /i:c:\TotalCmd\config\qqq32.ini
->
C:\TotalCmd\TotalCmd.exe /i=c:\TotalCmd\config\qqq32.ini

Christian, you may consider this as a suggestion.
Moderators, please move the topic.
No need for Christian !
It works as the help file says.
He is not responsible for non reading of the relevant help.
User avatar
Valentino
Power Member
Power Member
Posts: 709
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

Come on, guys, don't be funny asking not to do this because it will not make you any harm. If you ask not to do this, be consistent, ask to remove configurability at all because it allows to fit TC for every user.

Console apps show error message if they cannot recognize the param but TC just ignored it, that's why it was confusing. I think it's not only easier to implement (too strong word for such feature, isn't it?) colon recognition, but also more user friendly, than showing error message.

Just imagine, you're solving some interesting global problem (like saving the world, for example), you're full of momentous ideas, you're excited, your thoughts are fast as lightning and then you stumble over some minor thing and have to come down to earth, your inspiration is lost... :)

Anyway, this does not mean that I will insist on implementing it but I'm allowed to make suggestions, isn't it? :)
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

I completely agree with this suggestion and would like to add one more additional way in addition to the equal sign and colon - colon, followed by a dash followed by a capital P.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Valentino
Power Member
Power Member
Posts: 709
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

Hacker, you rock :D
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

Not sure about colon but many console apps I've used had no problems with spaces, so:

Code: Select all

C:\TotalCmd\TotalCmd.exe /i c:\TotalCmd\config\qqq32.ini
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

BTW some apps don't use any separator at all, so following may be useful too. :lol:

Code: Select all

C:\TotalCmd\TotalCmd.exe /ic:\TotalCmd\config\qqq32.ini
User avatar
Valentino
Power Member
Power Member
Posts: 709
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

2fenix_productions
2MVV
Why not.
Post Reply