Changing folders location from TCC prompt?

Jul 7, 2008
35
0
Texas, USA
Is it possible to change the currently selected folder location (in TC9) from the current TCC prompt? Often when I'm working in a TCC window I might, for example, want to drag a short-cut to the from the current TCC directory to the desktop, and to do so I need to manually locate the current TCC working directory in the folders view. It would be much simpler if it was possible to focus the folders view to the current TCC working directory by issuing some simple command in TCC.

If this feature doesn't exist yet, this question becomes a new feature suggestion. :)

Thanks!
 
May 20, 2008
11,288
95
Syracuse, NY, USA
On Mon, 07 Jul 2008 20:17:17 -0500, you wrote:


>Is it possible to change the currently selected folder location (in TC9) from the current TCC prompt? Often when I'm working in a TCC window I might, for example, want to drag a short-cut to the from the current TCC directory to the desktop, and to do so I need to manually locate the current TCC working directory in the folders view. It would be much simpler if it was possible to focus the folders view to the current TCC working directory by issuing some simple command in TCC.

See the /T and /TO options for CDD.
 
May 20, 2008
11,288
95
Syracuse, NY, USA
On Mon, 07 Jul 2008 21:03:42 -0500, you wrote:


>---Quote (Originally by vefatica)---
>See the /T and /TO options for CDD.
>---End Quote---
*

>Excellent! Thanks! I created a following alias that does the trick using the /TO option.
*
That sounds like one that would be used often. How about a keystroke alias,
maybe

alias @@ctrl-t cdd /to .
 
Jul 7, 2008
35
0
Texas, USA
That sounds like one that would be used often. How about a keystroke alias, maybe

alias @@ctrl-t cdd /to .
Indeed! It's cool to get the product do something faster, better again after having used it on and off (in some form, 4DOS, etc..) for over 15 years.

Talking about hotkeys, I've been adding global keyboard macros to my workstation recently with AutoHotkey (an excellent, free, open source utility) that can even redefine system hotkeys (such as Win-F), do string expansion, etc.
 
Jul 7, 2008
35
0
Texas, USA
Continuing this almost three years old thread I started, I have a follow-up question: how about the other way around? In other words, is there an easy way to change the current TCC working directory within a Take Command instance based on the current folder selection in Folders or List View window? Dragging a folder from either view to the TCC prompt produces the URL to the selection in quotes, so by preceding it with 'cdd' will of course take the prompt working directory there, but is there a shorter way (a way to assign a hotkey, a mouse-click option, etc)?

Now using TC 11.0.48..
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,425
85
Albuquerque, NM
prospero.unm.edu
Continuing this almost three years old thread I started, I have a follow-up question: how about the other way around? In other words, is there an easy way to change the current TCC working directory within a Take Command instance based on the current folder selection in Folders or List View window? Dragging a folder from either view to the TCC prompt produces the URL to the selection in quotes, so by preceding it with 'cdd' will of course take the prompt working directory there, but is there a shorter way (a way to assign a hotkey, a mouse-click option, etc)?

Now using TC 11.0.48..

Code:
alias there=`if "%_tcfolder" ne "" cdd "%_tcfolder"`

Of course, you could map it to a keystroke alias for an even quicker trip.
 
Similar threads
Thread starter Title Forum Replies Date
Joe Caverly Changing the TAB key Support 10
K copy changing destination current directory Support 1
vefatica Why does my forum theme keep changing? Support 1
CWBillow Setting and changing Vars in batch files Support 26
J Find Files - changing folder Support 1
S Changing Forum LOGIN Support 4
M Changing font size without mouse wheels... Support 1
Ville Changing TCC font? Support 7
T How to? ZIP/7ZIP @listfile with folders Support 2
D Fixed @Folders[] Support 2
C How to? List empty folders Support 21
B How to? Pre-set _tcfolder on startup when Folders is set Auto-Hide Support 6
D Folders pane display problem when starting Support 4
D Folders pane display problem after rename Support 0
C MOVE making empty destinatation sub-folders Support 10
vefatica Strange folders Support 1
E TCC dir /s command not showing all folders Support 6
D sync navigation between Folders List panel and the Tabs console Support 11
CWBillow Deleting folders Support 4
A Inverse of CDD /t c:\ (sync TCC currdir to Folders view)? Support 9
CWBillow Ditching empty folders Support 11
N Problem with Folders tab (not refreshing) Support 1
vefatica Documentation Documentation of popup location and size Support 4
vefatica Windows Terminal ... Pop-up location Support 1
J Licesne file location Support 1
vefatica Documentation INI file location? Support 2
C Documentation default location for LOG files Support 21
C Erase all characters left or right from cursor location Support 2
nickles Move takecommand.18.0.key location to installation directory Support 4
Steve Pitts Cursor location when switching back to TC window Support 19
S Location of tcmd.ini in x64 Support 4
R location of .ini file Support 17
S Take Command v9 download location? Support 3
H Configuring the location of BATCH.BCP in the INI file Support 0

Similar threads