[solved] Commandline /S parameter is not supported in Directory hotlist

English support forum

Moderators: sheep, Hacker, Stefan2, white

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 8862
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

[solved] Commandline /S parameter is not supported in Directory hotlist

Post by *petermad » 2019-09-21, 13:41 UTC

To reproduce:

Make the folder c:\testdir.
Make this command in your usercmd.ini file:

Code: Select all

[em_opendatefolder]
cmd=%COMSPEC% /C
param=Start "" %%COMMANDER_EXE%% /O /S /L="c:\testdir"
iconic=1
And then put em_opendatefolder in the "Command:" field of a Directory hotlist entry.

Unfortunately the /S parameter does not seem to be supported when used in the Directory hotlist - so the dir is always opened in the left panel instead of in the source panel.

The em_opendatefolder works fine in a Button on the buttonbar, or assigned to a Keyboard shortcut or in the Start menu or the Main menu, or on the command line - wher it opens the folder in the source panel as expected.


See also: viewtopic.php?p=359502#p359502
Last edited by petermad on 2019-10-17, 22:48 UTC, edited 5 times in total.
License #524 (1994)
Danish Total Commander Translator
TC 9.5b3 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b12 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38170
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Commandline /S parameter is not supported in Directory hotlist

Post by *ghisler(Author) » 2019-09-23, 13:50 UTC

I will check it.
Author of Total Commander
http://www.ghisler.com

User avatar
petermad
Power Member
Power Member
Posts: 8862
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Commandline /S parameter is not supported in Directory hotlist

Post by *petermad » 2019-10-17, 22:48 UTC

Hmm, I tested it today in TC 9.5b1 and here it works, but I also checked in TC 9.22a and there it also works, so I don't know why it didn't works back in september.

So consider this issue solved.
License #524 (1994)
Danish Total Commander Translator
TC 9.5b3 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b12 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
Hacker
Moderator
Moderator
Posts: 11360
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: [solved] Commandline /S parameter is not supported in Directory hotlist

Post by *Hacker » 2019-10-18, 06:09 UTC

Message from moderator Hacker

Moved to the English forum.
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.

Post Reply