search via Pop-up Directory Tree by ANY PART of folder name

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
romulous
Senior Member
Senior Member
Posts: 226
Joined: 2003-11-19, 04:10 UTC

Post by *romulous »

The command line is described in the xcd.html (equivalent txt file also supplied) that comes in the .zip file with the tool. Basically, the syntax is:
xcd <target_directory>

The ? parameter means 'no specific folder entered, ask the user to enter one'. There are some other parameters you can use - for example, you can update treeinfo.wc with XCD instead of Alt+F10, F2. These are described in the documentation, better than what I could explain them I think. The 2 sections in particular are "Update treeinfo.wc using xcd" and "Change directory", both towards the top of the file. The ? is the only one you will likely need though - I personally just update treeinfo.wc with the Alt+F10 method.

You don't need to use a hotkey - I just did that because I prefer the keyboard over the mouse. You could create a Start Menu (TC's, not Windows) entry for it, button on the buttonbar, TC command line etc - as long as you can use a method to pass a executable name (xcd.exe) and a parameter, you should be able to use it to launch XCD. If you prefer the mouse over the keyboard, a button would probably be the ideal method.
Last edited by romulous on 2012-10-05, 09:14 UTC, edited 1 time in total.
User avatar
EricB
Senior Member
Senior Member
Posts: 357
Joined: 2008-03-25, 22:21 UTC
Location: The Netherlands

Post by *EricB »

I created a user command em_xcd with parameters %1 %2 %3 and coupled it to an alias xcd, so the executable does not have to be in the path anymore.

The alias can be used for the TC command line, while the em_xcd can be used in the Start menu or as a button.

Note that if you want xcd to be portable, the ini should be in the same folder as the executable and you should define the same Start path in the em_xcd command.

Regards, EricB
User avatar
leopoldus
Senior Member
Senior Member
Posts: 221
Joined: 2004-11-21, 09:47 UTC

Post by *leopoldus »

Is there any similar tool for alias too? Something what reads command-line aliases from the section [Alias] in the wincmd.ini the same way as XCD reads treeinfo.wc and display all alias in its own GUI window with filering support?
User avatar
nsp
Power Member
Power Member
Posts: 1956
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

leopoldus wrote:Is there any similar tool for alias too? Something what reads command-line aliases from the section [Alias] in the wincmd.ini the same way as XCD reads treeinfo.wc and display all alias in its own GUI window with filering support?
This is not as simple as this to be complete, because alias refers to command that are on the .INC file or in the usercmd.ini for the comment and the definition...

A First help is probably to define a redirect section for the alias section in wincmd.ini and just have a hotkey that open this redirected ini file in an editor.
You can arrange, comment (do some backup) ......

But a kind of intellisense in the command line is not available :(
User avatar
leopoldus
Senior Member
Senior Member
Posts: 221
Joined: 2004-11-21, 09:47 UTC

Post by *leopoldus »

2nsp
A First help is probably to define a redirect section for the alias section in wincmd.ini and just have a hotkey that open this redirected ini file in an editor.
Excuse mou, but the only advantage of this solution is a static reminder list of my assigned alias. Well, this is useful too, but is far not the same as interactive GUI dialog :(

Would it be correct to conclude, that there are no any tools to extend Total Commander's command-line functionality/usability?
User avatar
nsp
Power Member
Power Member
Posts: 1956
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

leopoldus wrote:2nsp
Excuse mou, but the only advantage of this solution is a static reminder list of my assigned alias. Well, this is useful too, but is far not the same as interactive GUI dialog :(

Would it be correct to conclude, that there are no any tools to extend Total Commander's command-line functionality/usability?
You can add a lot of functionalities using powerpro or ahk or autoit but you will need to learn some programming stuff to do it.

For now there is no plugin architecture to extend command line.

The auto-completion in command line is not sufficient for people that use it intensively. This is standard windows completion : only file or url (even not refreshed when you change from one tab to another....)

Feel free to suggest new features to Christian Ghisler
User avatar
leopoldus
Senior Member
Senior Member
Posts: 221
Joined: 2004-11-21, 09:47 UTC

Post by *leopoldus »

It seems, that this great add-on XCD does not support Unicode folder names at all :( It is no a big problem itself, that XCD can not search for a directory, if the search request includes a Unicode chars. The worst news is, that XCD can not go to a found directory, if its full name has any Unicode char - even if this part was not used as a keyword in search operation :(

That fact is IMHO quite strange, if your consider, that author is German, so he should have to know, that some Western encodings have more letters than 26 English basic ASCII chars. And he should have heard something about diacritics characters, umlauts etc. TC itself supports Unicode since version 7.50... Well, if your local non-Unicode language is German, you have no difficulties with German diacritics. But what, if your default language is another one?

Could anybody discuss the problem with the author of XCD? My German active consists of the only phrase "Gute Nacht meine Liebe" :) And it seems, that the author of XCD does not speak English well enough.
User avatar
romulous
Senior Member
Senior Member
Posts: 226
Joined: 2003-11-19, 04:10 UTC

Post by *romulous »

@leopoldus: Unicode seems to work fine here with XCD (Win 7 64bit). I created a unicode directory name (ãåèéîïôõùú), hit Alt+F10 and then F2 to make TC refresh the folder listing. When that was completed, I used Alt+F10 again to verify that it was found by TC. It was.

I then opened XCD, pasted that name and hit Enter. XCD found the folder, and when I hit Enter again, it opened it in TC. There may be something else wrong on your system - verify that TC finds the folder itself first, through Alt+F10 (assuming you use TC's internal treeinfo.wc and not XCD's version of it).

I also conversed quite a bit with the XCD author about the issues with the old version and TC v8 when it was released - I'm a native English speaker, and I found his English to be quite good. He had no problems understanding me, and I had none understanding him (which is good, as I only speak English).
User avatar
nsp
Power Member
Power Member
Posts: 1956
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

leopoldus wrote:..... 8< ...
That fact is IMHO quite strange, if your consider, that author is German, so he should have to know, that some Western encodings have more letters than 26 English basic ASCII chars. And he should have heard something about diacritics characters, umlauts etc. TC itself supports Unicode since version 7.50... Well, if your local non-Unicode language is German, you have no difficulties with German diacritics. But what, if your default language is another one?....>8
Unicode support only helps if you do not use the native OS language. I have in my system a folder named TEST_ëêùæðß and it works perfectly because all of these characters are in my default windows page.. and XCD do not have any trouble to find and redirect to it.

When you use unicode WideChar, you start to brake full compatibility....
Even if TC support unicode, have you ever tried to define a user command inside usercm.ini with unicode name ?
With your windows os command line, try to go inside such folder !

also, Similarity algorithm is more difficult to implement with wide-char than with ansi. (SimString is doing it but it is much more complicated than Levenshtein distance).

You should probably give also a look to Listary

or directly ask Matthias in english see Meine Kontakt-Adresse at the end of the page
User avatar
leopoldus
Senior Member
Senior Member
Posts: 221
Joined: 2004-11-21, 09:47 UTC

Post by *leopoldus »

2romulous
Unicode seems to work fine here with XCD (Win 7 64bit)
There may be something else wrong on your system - verify that TC finds the folder itself first, through Alt+F10
Windows XP x32 and Windows 7 x32. XCD does not work for Unicode dirs name. All setting is OK, XCD does find those dirs with Unicode chars in their names and display them in its result list. But when I hit [Enter] or [OK], TC goes to the proper disk root directory and stops their.

That's strange, that you get totally another result.


2nsp
Unicode support only helps if you do not use the native OS language. I have in my system a folder named TEST_ëêùæðß and it works perfectly because all of these characters are in my default windows page.. and XCD do not have any trouble to find and redirect to it.
Surely it works this way with the OS default non-Unicode language! But there this fact has no any connection to Unicode support :lol:
You need Unicode support to search for folders, which includes any chars NOT from OS default language. Say the OS default language is German, but folder name includes some specific French chars, or default language is Russian (Cyrillic) and you need to find a folder with a German diacritic letters.

or directly ask Matthias in english
Thank you, I'll try to do so.
Post Reply