Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

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

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC suggestions (English) Printable version
View previous topic :: View next topic  
Author Message
Valentino
Power Member
Power Member


Joined: 06 Feb 2003
Posts: 665
Location: Ukraine

PostPosted: Mon Aug 06, 2012 9:30 am    Post subject: TC ignores /i switch if using colon instead of equal sign Reply with quote

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
View user's profile Send private message Send e-mail
Horst.Epp
Power Member
Power Member


Joined: 06 Feb 2003
Posts: 846
Location: Germany

PostPosted: Mon Aug 06, 2012 11:13 am    Post subject: Reply with quote

/i=name.ini works fine here.
Tested under Windows 7 x64 with TC 8.01 x86 and x64
Back to top
View user's profile Send private message
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 5350
Location: Valsted, Denmark

PostPosted: Mon Aug 06, 2012 1:15 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Valentino
Power Member
Power Member


Joined: 06 Feb 2003
Posts: 665
Location: Ukraine

PostPosted: Tue Aug 07, 2012 2:52 am    Post subject: Reply with quote

The problem was that I used colon instead of equal sign Smile

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
View user's profile Send private message Send e-mail
white
Power Member
Power Member


Joined: 19 Nov 2003
Posts: 1304
Location: Netherlands

PostPosted: Tue Aug 07, 2012 2:59 am    Post subject: Reply with quote

Moderation:
Moved to Suggestions forum.

White (moderator)

_________________
#16626 Personal licence
Back to top
View user's profile Send private message Send e-mail
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 4532
Location: Russian Federation

PostPosted: Tue Aug 07, 2012 4:12 am    Post subject: Reply with quote

Don't think that it should be supported in a ten ways. All TC parameters work with the equal sign.
_________________
VirtualPanel plugin: Temporary panel for TC (forum)
TOTALCMD.NET: TCFS2, NTLinks, CopyTree, AskParam, ConPaste, Sudo…
Back to top
View user's profile Send private message Send e-mail
Horst.Epp
Power Member
Power Member


Joined: 06 Feb 2003
Posts: 846
Location: Germany

PostPosted: Tue Aug 07, 2012 6:41 am    Post subject: Reply with quote

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

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
View user's profile Send private message
Valentino
Power Member
Power Member


Joined: 06 Feb 2003
Posts: 665
Location: Ukraine

PostPosted: Tue Aug 07, 2012 8:40 am    Post subject: Reply with quote

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... Smile

Anyway, this does not mean that I will insist on implementing it but I'm allowed to make suggestions, isn't it? Smile
Back to top
View user's profile Send private message Send e-mail
Hacker
Moderator
Moderator


Joined: 06 Feb 2003
Posts: 9108
Location: Bratislava, Slovakia

PostPosted: Tue Aug 07, 2012 9:53 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Valentino
Power Member
Power Member


Joined: 06 Feb 2003
Posts: 665
Location: Ukraine

PostPosted: Tue Aug 07, 2012 10:07 am    Post subject: Reply with quote

Hacker, you rock Very Happy
Back to top
View user's profile Send private message Send e-mail
fenix_productions
Power Member
Power Member


Joined: 07 Aug 2005
Posts: 1881
Location: Poland

PostPosted: Tue Aug 07, 2012 12:25 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 4532
Location: Russian Federation

PostPosted: Wed Aug 08, 2012 3:14 am    Post subject: Reply with quote

BTW some apps don't use any separator at all, so following may be useful too. Laughing
Code:
C:\TotalCmd\TotalCmd.exe /ic:\TotalCmd\config\qqq32.ini

_________________
VirtualPanel plugin: Temporary panel for TC (forum)
TOTALCMD.NET: TCFS2, NTLinks, CopyTree, AskParam, ConPaste, Sudo…
Back to top
View user's profile Send private message Send e-mail
Valentino
Power Member
Power Member


Joined: 06 Feb 2003
Posts: 665
Location: Ukraine

PostPosted: Wed Aug 08, 2012 5:14 am    Post subject: Reply with quote

2fenix_productions
2MVV
Why not.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC suggestions (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group