Jump to directory
Moderators: Hacker, petermad, Stefan2, white
- robinsiebler
- Senior Member
- Posts: 460
- Joined: 2003-03-05, 21:04 UTC
Jump to directory
In 4NT, if I want to change to a dir, I can simply type 'cd foo' and if foo exists, I will be taken there. If there are more than one foo, I will be presented with a list of dirs. I wonder if there is a way to do this in TC? Since TC saves a list of all of the directories (if you have this enabled), I would hope this is possible. I know about (and use) the directory menu, but I was looking for a quick and dirty way to jump to a directory.
Robin L. Siebler
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
- fabiochelly
- Power Member
- Posts: 603
- Joined: 2003-02-05, 12:03 UTC
- Location: Rambouillet, France
- robinsiebler
- Senior Member
- Posts: 460
- Joined: 2003-03-05, 21:04 UTC
Re: Jump to directory
I see your point. Something like the command line in Win2k and above, you type the first 2-3 letters and then you can press TAB and the system cycles you through all dirs starting with what you typed. Neat, i'd like that too.robinsiebler wrote:In 4NT, if I want to change to a dir, I can simply type 'cd foo' and if foo exists, I will be taken there. If there are more than one foo, I will be presented with a list of dirs. I wonder if there is a way to do this in TC? Since TC saves a list of all of the directories (if you have this enabled), I would hope this is possible. I know about (and use) the directory menu, but I was looking for a quick and dirty way to jump to a directory.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
- pdavit
- Power Member
- Posts: 1529
- Joined: 2003-02-05, 21:41 UTC
- Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
- Contact:
You also have the directory history feature (Alt+Down Arrow) and the up coming tabbed architecture. Too many available options!
Here’s the list:
- Directory HotList
- Directory History
- Directory Tree
- Tabs (not available yet!)
I have to admit though that I had made in the past a suggestion for a “temporary folder bookmarking” system as I was experiencing similar problems.
Here’s the list:
- Directory HotList
- Directory History
- Directory Tree
- Tabs (not available yet!)
I have to admit though that I had made in the past a suggestion for a “temporary folder bookmarking” system as I was experiencing similar problems.
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
Christian Ghisler Rules!!!
Directory Tree is a nice idea to jump to another directory, but it is completely useless on my machine: my "Treeinfo.wc" file is about 5MB large....-> very slowHorst.Epp wrote:Use the Directory Tree command (Alt-F10) for this.
You type the first few characters of the name and it shows you the first match. Typing CTRL-Enter shows you the next and so on...
Sounds strange.Lefteous wrote:Directory Tree is a nice idea to jump to another directory, but it is completely useless on my machine: my "Treeinfo.wc" file is about 5MB large....-> very slowHorst.Epp wrote:Use the Directory Tree command (Alt-F10) for this.
You type the first few characters of the name and it shows you the first match. Typing CTRL-Enter shows you the next and so on...
My Treeinfo.wc is about 150k and has over 3000 directories
So how many dirs do you have ?
~42000Horst.Epp wrote:Sounds strange.Lefteous wrote:Directory Tree is a nice idea to jump to another directory, but it is completely useless on my machine: my "Treeinfo.wc" file is about 5MB large....-> very slowHorst.Epp wrote:Use the Directory Tree command (Alt-F10) for this.
You type the first few characters of the name and it shows you the first match. Typing CTRL-Enter shows you the next and so on...
My Treeinfo.wc is about 150k and has over 3000 directories
So how many dirs do you have ?
- pdavit
- Power Member
- Posts: 1529
- Joined: 2003-02-05, 21:41 UTC
- Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
- Contact:
!!!Lefteous wrote:42000
So your treeinfo.wc should have been approx 2.1Mb not 5Mb based on the fact that 3000 dirs are 150k.
Any ways, if I’m not wrong the treeinfo.wc is saved whenever you call it and especially from wherever you call Directory Tree. Based on the fact that it can be found in sub-dirs it might be a good technique to call it within your frequent dirs. It might speed up the process. That’s a suggestion with reservations though and only Christian can tell us how treeinfo.wc behaves.
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
Christian Ghisler Rules!!!
It's just my pathnames seems to be longer than Horst.epp's.pdavit wrote:!!!Lefteous wrote:42000
So your treeinfo.wc should have been approx 2.1Mb not 5Mb based on the fact that 3000 dirs are 150k.
It takes up to 9 seconds to load the tree - everytime.pdavit wrote: Any ways, if I’m not wrong the treeinfo.wc is saved whenever you call it and especially from wherever you call Directory Tree. Based on the fact that it can be found in sub-dirs it might be a good technique to call it within your frequent dirs. It might speed up the process. That’s a suggestion with reservations though and only Christian can tell us how treeinfo.wc behaves.
[face=courier]On 11-07-2003 12:44:03 +0000 wanderer wrote:
w> I see your point.
No, you don't. JP Software Inc. command processors (i.e. 4DOS, 4NT&Take Command) support Extended Directory Search mode (actually "borrowed" from NIX shells as well as almost all other useful features):
__________transmission_from_clipboard____________
Extended Directory Searches use a database of directory names to facilitate changing to the correct directory. The database is used only if Extended Directory Searches are enabled, and if the explicit directory search and CDPATH search fail to find the directory you requested.
An extended directory search automatically finds the correct path to the requested directory and changes to it if that directory exists in your directory database. If more than one directory in the database matches the name you have typed, a popup window appears and you can choose the directory you want.
______________end_of_transmission________________
Actually this is what dagoon talking about.
Well, TC's TREEINFO.WC pretty much look and behave like JPSTREE.IDX so I guess such a mode is possible in TC too. But I don't think Christian would like this idea.
w> Something like the command line in Win2k and above, you type
w> the first 2-3 letters and then you can press TAB and the
w> system cycles you through all dirs starting with what you
w> typed.
AFAIK this functionality presented in NT command shell from very beginning (though was always not active by default) and also "borrowed" from NIX, actually NT was designed as UNIX killer... %)
w> Neat, i'd like that too.
Well, I use TAR - it supports BASH model of EasyType and can be integrated with TC.[/face]
w> I see your point.
No, you don't. JP Software Inc. command processors (i.e. 4DOS, 4NT&Take Command) support Extended Directory Search mode (actually "borrowed" from NIX shells as well as almost all other useful features):
__________transmission_from_clipboard____________
Extended Directory Searches use a database of directory names to facilitate changing to the correct directory. The database is used only if Extended Directory Searches are enabled, and if the explicit directory search and CDPATH search fail to find the directory you requested.
An extended directory search automatically finds the correct path to the requested directory and changes to it if that directory exists in your directory database. If more than one directory in the database matches the name you have typed, a popup window appears and you can choose the directory you want.
______________end_of_transmission________________
Actually this is what dagoon talking about.
Well, TC's TREEINFO.WC pretty much look and behave like JPSTREE.IDX so I guess such a mode is possible in TC too. But I don't think Christian would like this idea.
w> Something like the command line in Win2k and above, you type
w> the first 2-3 letters and then you can press TAB and the
w> system cycles you through all dirs starting with what you
w> typed.
AFAIK this functionality presented in NT command shell from very beginning (though was always not active by default) and also "borrowed" from NIX, actually NT was designed as UNIX killer... %)
w> Neat, i'd like that too.
Well, I use TAR - it supports BASH model of EasyType and can be integrated with TC.[/face]
[face=courier]The Protoss do NOT run from their enemies.
It is here, that we shall make our stand.[/face]
It is here, that we shall make our stand.[/face]
- sergeycentral
- Junior Member
- Posts: 34
- Joined: 2003-07-24, 02:48 UTC
- Location: USA
sergeycentral wrote:The number of directories did not changeLefteous wrote:so delete Treeinfo.wc, and re-build ur tree.Horst.Epp wrote:...but it is completely useless on my machine: my "Treeinfo.wc" file is about 5MB large....-> very slow
would it be possible if you had many outdated dirs?no speedup
Maybe the algorithm isn't efficient?