Page 1 of 1
TC ignores /i switch if using colon instead of equal sign
Posted: 2012-08-06, 15:30 UTC
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?
Posted: 2012-08-06, 17:13 UTC
by Horst.Epp
/i=name.ini works fine here.
Tested under Windows 7 x64 with TC 8.01 x86 and x64
Posted: 2012-08-06, 19:15 UTC
by petermad
2Valentino
You have to use full path to the .ini file
Posted: 2012-08-07, 08:52 UTC
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.
Posted: 2012-08-07, 08:59 UTC
by white
[mod]Moved to Suggestions forum.
White (moderator)
[/mod]
Posted: 2012-08-07, 10:12 UTC
by MVV
Don't think that it should be supported in a ten ways. All TC parameters work with the equal sign.
Posted: 2012-08-07, 12:41 UTC
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.
Posted: 2012-08-07, 14:40 UTC
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?

Posted: 2012-08-07, 15:53 UTC
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
Posted: 2012-08-07, 16:07 UTC
by Valentino
Hacker, you rock

Posted: 2012-08-07, 18:25 UTC
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
Posted: 2012-08-08, 09:14 UTC
by MVV
BTW some apps don't use any separator at all, so following may be useful too.
Code: Select all
C:\TotalCmd\TotalCmd.exe /ic:\TotalCmd\config\qqq32.ini
Posted: 2012-08-08, 11:14 UTC
by Valentino
2fenix_productions
2MVV
Why not.