| View previous topic :: View next topic |
| Author |
Message |
Valentino Power Member


Joined: 06 Feb 2003 Posts: 665 Location: Ukraine
|
Posted: Mon Aug 06, 2012 9:30 am Post subject: TC ignores /i switch if using colon instead of equal sign |
|
|
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 Tue Aug 07, 2012 2:53 am; edited 1 time in total |
|
| Back to top |
|
 |
Horst.Epp Power Member


Joined: 06 Feb 2003 Posts: 846 Location: Germany
|
Posted: Mon Aug 06, 2012 11:13 am Post subject: |
|
|
/i=name.ini works fine here.
Tested under Windows 7 x64 with TC 8.01 x86 and x64 |
|
| Back to top |
|
 |
petermad Power Member


Joined: 05 Feb 2003 Posts: 5350 Location: Valsted, Denmark
|
Posted: Mon Aug 06, 2012 1:15 pm Post subject: |
|
|
2Valentino
You have to use full path to the .ini file _________________ #524
Danish Total Commander Translator
Windows XP Home 32bit SP3 & Windows 7 Home Premium 64bit SP1 and Windows 8. TC 8.01 32 + 64bit
Get Extended Total Commander Menus |
|
| Back to top |
|
 |
Valentino Power Member


Joined: 06 Feb 2003 Posts: 665 Location: Ukraine
|
Posted: Tue Aug 07, 2012 2:52 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
white Power Member


Joined: 19 Nov 2003 Posts: 1304 Location: Netherlands
|
Posted: Tue Aug 07, 2012 2:59 am Post subject: |
|
|
| Moderation: | Moved to Suggestions forum.
White (moderator)
|
_________________ #16626 Personal licence |
|
| Back to top |
|
 |
MVV Power Member


Joined: 03 Aug 2008 Posts: 4532 Location: Russian Federation
|
|
| Back to top |
|
 |
Horst.Epp Power Member


Joined: 06 Feb 2003 Posts: 846 Location: Germany
|
Posted: Tue Aug 07, 2012 6:41 am Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
Valentino Power Member


Joined: 06 Feb 2003 Posts: 665 Location: Ukraine
|
Posted: Tue Aug 07, 2012 8:40 am Post subject: |
|
|
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?  |
|
| Back to top |
|
 |
Hacker Moderator


Joined: 06 Feb 2003 Posts: 9108 Location: Bratislava, Slovakia
|
Posted: Tue Aug 07, 2012 9:53 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
Valentino Power Member


Joined: 06 Feb 2003 Posts: 665 Location: Ukraine
|
Posted: Tue Aug 07, 2012 10:07 am Post subject: |
|
|
Hacker, you rock  |
|
| Back to top |
|
 |
fenix_productions Power Member


Joined: 07 Aug 2005 Posts: 1881 Location: Poland
|
Posted: Tue Aug 07, 2012 12:25 pm Post subject: |
|
|
Not sure about colon but many console apps I've used had no problems with spaces, so:
| Code: | | 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 |
|
| Back to top |
|
 |
MVV Power Member


Joined: 03 Aug 2008 Posts: 4532 Location: Russian Federation
|
|
| Back to top |
|
 |
Valentino Power Member


Joined: 06 Feb 2003 Posts: 665 Location: Ukraine
|
Posted: Wed Aug 08, 2012 5:14 am Post subject: |
|
|
2fenix_productions
2MVV
Why not. |
|
| Back to top |
|
 |
|