Page 1 of 2
Command bar ehancement (completion and %variable)
Posted: 2009-05-22, 13:17 UTC
by nsp
I use a lot the command line with some cm_... or em_... command TC can auto complete/suggest folder/file names at any place but cannot help with it's own command.
/// I know it is old fashioned

but it is the most efficient way i've found to use TC and other software (emacs, autocad, ...)
Could it be possible to have such completion also with a specific hotkey or with a prefix like ? or * and only for first position ??
I've also noticed that none of the %N %O %P %F ... %T %L %UL %WL are interpreted is it a bug or a missing feature ??
Posted: 2009-05-22, 15:07 UTC
by fenix_productions
Support++
Posted: 2009-09-16, 15:22 UTC
by stifani
hello,
i was looking for this thing too.
i hope in the next release of TC, MR. Ghisler will add this enhancement

Posted: 2009-09-16, 20:52 UTC
by StatusQuo
nsp wrote:Could it be possible to have such completion also with a specific hotkey or with a prefix like ? or * and only for first position ??
Sounds nice. I don't use completion yet, maybe this would be a reason to change this.
nsp wrote:I've also noticed that none of the %N %O %P %F ... %T %L %UL %WL are interpreted
If they were interpreted, this would break compatibility to command line variables like below, wouldn't it?
Code: Select all
cmd /k for %n in (*.*) do @echo %n
[Edit:] Maybe both would be possible, if only upper case internal variables would be expanded.
Posted: 2009-09-17, 07:26 UTC
by MVV
StatusQuo wrote:[Edit:] Maybe both would be possible, if only upper case internal variables would be expanded.
Or if TC will treat '%%' as just percent sign like in bat-files.
Code: Select all
cmd /k for %%n in (*.*) do @echo %%n
Posted: 2009-09-18, 14:20 UTC
by StatusQuo
MVV wrote:Or if TC will treat '%%' as just percent sign like in bat-files. Wink
Indeed, sounds nice.
Re: Command bar ehancement (completion and %variable)
Posted: 2009-09-18, 15:52 UTC
by ceav
nsp wrote:I use a lot the command line with some cm_... or em_... command TC can auto complete/suggest folder/file names at any place but cannot help with it's own command.
I like this function so much. Who can use a plugin to realize it ?-----including cm_XX, em_XX and ALIAS
Posted: 2011-01-27, 15:56 UTC
by happytc
Posted: 2011-01-28, 02:03 UTC
by happytc
Posted: 2011-01-29, 00:39 UTC
by Balderstrom
MVV wrote:StatusQuo wrote:[Edit:] Maybe both would be possible, if only upper case internal variables would be expanded.
Or if TC will treat '%%' as just percent sign like in bat-files.
Code: Select all
cmd /k for %%n in (*.*) do @echo %%n
It would actually be really nice if TC had an option to start a command shell if it doesn't recognize the typed command as an internal action.
Then you could just do things like:
ASSOC | MORE
From TC's command line, without needing to preface the action with CMD.exe /k or making an alias for
all of the possible command-line actions.
Posted: 2011-01-29, 11:43 UTC
by MVV
Balderstrom wrote:It would actually be really nice if TC had an option to start a command shell if it doesn't recognize the typed command as an internal action.
Then you could just do things like:
ASSOC | MORE
Just use any noclose replacer and Shift+Enter that will start cmd with given command line.

Posted: 2011-02-03, 18:44 UTC
by Balderstrom
MVV wrote:StatusQuo wrote:[Edit:] Maybe both would be possible, if only upper case internal variables would be expanded.
Or if TC will treat '%%' as just percent sign like in bat-files.
Code: Select all
cmd /k for %%n in (*.*) do @echo %%n
This would be fairly easy to implement, and it could be made available to any program, not just cmd.exe (other scripting programs, editors, etc).
When the OR symbol "|" is the first character in TC's command prompt it would modify behaviour as MVV suggests, eg:
|cmd /K @ECHO OFF&FOR /F "delims=" %%F IN (%S) DO ECHO %%F
Prior to sending the string off to the cmd.exe interpreter for parsing, TC changes all "%%" to % and expands its own internal single letter %vars.
Posted: 2011-02-10, 00:46 UTC
by happytc
Posted: 2011-06-13, 12:39 UTC
by MCHAL
Is it possible to use aliases for opening pairs of folders in the current version of TTC, each on a different pane, just like XYPlorer (
http://www.xyplorer.com/xyfc/viewtopic.php?f=5&t=5204 ) and DOpus (
http://resource.dopus.com/viewtopic.php?f=3&t=10389&p=76164&hilit=alias&sid=d64ee37fc541524509adfe06a0eecf1a#p76164 ).
IMHO, this is a must-have feature. I would like so much to see it implemented...
Thanks.
Posted: 2011-06-13, 14:58 UTC
by MVV
MCHAL, you may create constant user-command that will open same pair of folders in both TC panels, just use following command:
Code: Select all
Command: cd
Parameter: X:\Path\In\Active
Work Path: X:\Path\In\Inactive
Also you may use same trick in directory hotlist (Ctrl+D), just specify path for active panel after
cd command and path for inactive one in field 'Target path:'.
Also you may use
TCMC to set paths for both panels, it allows to choose, use new tabs or not and use left/right or source/target.