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
603
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
255
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,489
15
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
255
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
255
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
11,300
95
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.
 
Similar threads
Thread starter Title Forum Replies Date
D Parsing an array variable to an array does not work Support 4
J Take command does not start on Windows 10 Support 3
J ffind does not find files Support 4
Joe Caverly PAUSE does not erase countdown timer Support 0
D ParentDirectory does not update directory history Support 6
D Documentation Help "Startup" page does not describe global lists Support 0
Charles Dye Does HASH's /E option do anything? Support 1
fishman@panix.com First TCC instantiation after reboot does not work. Support 17
D Fixed @VERSION does not increment pre-fixed version numbers. Support 1
vefatica Why does @WSLPATH double the leading '/'? Support 7
D What does the file "..\Everything\Run history.csv" store? Support 5
Peter Murschall WAD rem does not work correctly Support 8
vefatica Does @SYMLINK work? Support 6
R Tree on FAT32 does not sort by name by default. Support 6
A Tcc does not recognize "bcdedit" Support 20
MickeyF Why does this batch file give me 'unknown command "else"' error? Support 17
M Ctrl-C when using command line history does nothing Support 2
vefatica JOBS /K ... how does it work? Support 5
Joe Caverly Why does TCCRT return VIEW as an internal command? Support 6
D Does TCC improve CMD's implementation of ECHO? Support 6
vefatica Find Files/Text dialog: does it work? Support 0
Alpengreis [v22.00.41] sync command flag "/X" does not work Support 22
Joe Caverly .PS1 script does not work with PSHELL Support 11
M MOVE does not behaves like intended (on failure) Support 1
R Fixed Sendmail parameter /USER= does not work Support 4
twaterloo does tcc have a task sceduler Support 4
Brian Woodward How to? Does FTP.CFG only support SSL over port 21? (Newbie) Support 6
M Activation Key does not correspond… Support 2
James Miller tcc shell window does not disappear Support 18
D Lua does not work on the commandline Support 5
D Fresh instance of TCMD does not use TCMD.INI Support 7
D Fixed @Lua does not behave as documented Support 8
D everything /o does not open the option dialog Support 4
M Why does HELP keep opening in the background? Support 0
vefatica Does TCC know I'm visiting the forums? Support 76
vefatica Why does my forum theme keep changing? Support 1
fishman@panix.com 19.02.37 Does Not Install For Me Support 2
I Windows 10 console does not allow alt-F4 alias to complete Support 1
fromano WAD ver /r does not detect Win 10B10166 Support 5
Alpengreis Fixed BATCOMP /O does not work Support 1
D Fixed Cut and paste in TC's file/folder view does not remove file Support 17
E View (internal command) does nothing now Support 3
D How does Cut work? Support 8
B How to? why does my BTM stop Support 2
I "IF" command in a variable does not expand redirection variable name Support 0
samintz How to? What does ~ do? Support 1
C Msg Popup window does not close Support 8
D WAD Alt-Left doesn't work, but Alt-Shift-Left does Support 1
Joe Caverly @SCRIPT does not like all comments Support 2
R WAD Copy /w does not use recycle bin Support 7

Similar threads