If cd alias created with this method will be proved as fully compatible with internal cd command, I'will use it.
Still, I think behavior described in 1st post may be considered as a bug or a thing that may be improved to make TC's command line more compatible with buttons/user commands.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
The workaround I suggested has the disadvantage that for example cd %systemroot% does NOT work anymore.
Yes, which means the workaround from first post is more reliable, although it requires a separate alias for each GUID.
The reason of not working variable in a workaround with usercommand and %A parameter probably described in this topic (as noted in newer posts there, using %%var%% instead of %var% in Parameters doesn't work for cd command either, so currently no solution.)
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
There will be some improvements in the next TC version which I have already implemented:
1. cd ::{} will work also in command line and as command line parameters.
2. Special shell folders like shell:::{22877a6d-37a1-461a-91b0-dbda5aaebc99}
will also work, both in the above form:
cd shell:::{22877a6d-37a1-461a-91b0-dbda5aaebc99}
and the shortened form:
cd ::{22877a6d-37a1-461a-91b0-dbda5aaebc99}
history920.txt wrote:13.03.18 Added: Command line parameters: Support switching to virtual folders via GUID, e.g. for drive list, use /L=::{20D04FE0-3AEA-1069-A2D8-08002B30309D} (32/64)
13.03.18 Added: Command line: support switching to virtual folders via GUID, e.g. for drive list, use cd ::{20D04FE0-3AEA-1069-A2D8-08002B30309D} (32/64)
13.03.18 Added: Button bar: support shell GUIDs, e.g. to go to Explorer's recent dirs, use cd ::{22877a6d-37a1-461a-91b0-dbda5aaebc99} (32/64)
Yes, it works now in a command line and as a parameter for totalcmd.exe now (tried on Vista 32-bit). Explanation for button bar addition (from email):
Christian Ghisler wrote:Not all shell URLs work in button bar in TC 9.x. For example, "Recent places":
cd ::{22877a6d-37a1-461a-91b0-dbda5aaebc99}
does not work in TC 9.12, but does work in the beta. That's because the Windows function ParseDisplayName fails with this URL. It has to be passed to it with shell prefix, in the form:
shell::{22877a6d-37a1-461a-91b0-dbda5aaebc99}
Total Commander 9.2 beta does this automatically now.
I didn't try all possible known guids, so I think it's better not to move the topic to fixed bugs until beta test will be finished: it is still possible that some GUIDs users expect to work may still not work.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
I think it's better not to move the topic to fixed bugs until beta test will be finished: it is still possible that some GUIDs users expect to work may still not work.
In that case I'd suggest opening a new thread, possibly referencing this thread. Otherwise we will forget about this thread and never move it.
Hacker (Moderator)
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.