Does CDD /TO work?

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?
 
May 20, 2008
604
0
Sammamish, WA
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.
 
Nov 13, 2008
257
3
www.thedave.me
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 ."
 
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?
 
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,324
12
Solon, OH, USA
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). ?
>
>
>
>
 
Nov 13, 2008
257
3
www.thedave.me
On Tue, 04 May 2010 14:15:10 -0400, mcsuman <> was
claimed to have wrote:


>Well, I'm typing it at the prompt, so the quotes shouldn't be there, should they?
Nope, but I'm not typing in a prompt, I'm typing in a message, so
following English conventions.

In other words, try:

CDD /TO .
 
Nov 13, 2008
257
3
www.thedave.me
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]],]
 
May 20, 2008
9,187
60
Syracuse, NY, USA
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
 
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
Yes, that's where I started out. But it doesn't seem to work for me.