Does CDD /TO work?

#1
The documentation says CDD /TO will "change the current directory in the Take Command Folders and List View windows without changing the TCC current directory."

When I enter it I get "The system cannot find the file specified."

What am I missing?
 
#2
I think you need to give "CDD /TO folder" instead of just "CDD /TO"

On Tue, May 4, 2010 at 7:27 AM, mcsuman <> wrote:


> The documentation says CDD /TO will "change the current directory in the
> Take Command Folders and List View windows without changing the TCC current
> directory."
>
> When I enter it I get "The system cannot find the file specified."
>
> What am I missing?
>
>
>
>
>


--
Jim Cook
2010 Sundays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Monday.
 
#3
On Tue, 04 May 2010 10:27:11 -0400, mcsuman <> was
claimed to have wrote:


>The documentation says CDD /TO will "change the current directory
>in the Take Command Folders and List View windows without changing
>the TCC current directory."
>
>When I enter it I get "The system cannot find the file specified."
>
>What am I missing?
Try "CDD /TO ."
 
#6
I think you need to give "CDD /TO folder" instead of just "CDD /TO"../QUOTE]

Well, maybe, but if you have to pick up the List View manually then "change the current directory in the Take Command Folders and List View windows without changing the TCC current directory" doesn't seem to make much sense, does it?
I guess one can put other names in the TO? That would imply more power than just changing the list view?
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
3,575
46
Albuquerque, NM
prospero.unm.edu
#7
I guess one can put other names in the TO? That would imply more power than just changing the list view?
Huh? You can specify any directory you like, just the same as if you didn't use /TO.

Code:
cdd /to "%@path[%_cmdspec]"
will set the tree view to Take Command's install directory.
 
#8
Huh? You can specify any directory you like, just the same as if you didn't use /TO.

Code:
cdd /to "%@path[%_cmdspec]"
will set the tree view to Take Command's install directory.
That I get. But I haven't figured out how to set the tree view to where I'm at (that is, what the default prompt would show if I haden't turned it off with prompt $g). ?

Maybe all I'm asking is what holds the TCC current directory?
 

samintz

Scott Mintz
May 20, 2008
1,271
11
Solon, OH, USA
#9
CDD /T . will set the tree view to your current TCC directory. With the
following caveat - the tree does not automatically update when you create
subdirectories.

For example, if you MKDIR a new directory and CD into it and attempt to
set the treeview to the new directory, it won't show up. You have to
manually refresh the treeview using TCMD's File | Refresh menu option.

-Scott

mcsuman <> wrote on 05/04/2010 03:18:09 PM:


>
> That I get. But I haven't figured out how to set the tree view to
> where I'm at (that is, what the default prompt would show if I
> haden't turned it off with prompt $g). ?
>
>
>
>
 
#11
On Tue, 04 May 2010 15:18:09 -0400, mcsuman <> was
claimed to have wrote:


>That I get. But I haven't figured out how to set the tree view to where I'm at (that is, what the default prompt would show if I haden't turned it off with prompt $g). ?
If you want the treeview to follow you around always, try adding
something like this to your PROMPT statement:

%@if[%_tctab,%%@exec[@*CDD /to %@quote[%_cwd]],]
 
#12
On Tue, 04 May 2010 15:18:10 -0400, mcsuman <> wrote:

|But I haven't figured out how to set the tree view to where I'm at (that is, what the default prompt would show if I haden't turned it off with prompt $g). ?

Someone already suggested: "CDD /TO ."

That works for me.
--
- Vince