how to create a direct access to a folder
Moderators: Hacker, petermad, Stefan2, white
how to create a direct access to a folder
Hello,
Actually at the top left of TC we have a drop down menu with "C".
At the right of this drop down menu ("C"), I would like to add a button to access directly to the "Download" folder.
How to do it ?
Actually at the top left of TC we have a drop down menu with "C".
At the right of this drop down menu ("C"), I would like to add a button to access directly to the "Download" folder.
How to do it ?
Re: how to create a direct access to a folder
Thats what the Directory Menu is for which is opened by pressing CTRL+D.
Press CTRL+D -> Config -> press Add -> use "&Download" as title, press ok and then enter "cd <path to download>" (normaly C:\Users\<your username>\Downloads\ if you havent moved it) in the command field and press ok again.
Now you can access the Download folder by pressing CTRL+D and presssing D.
HTH
Press CTRL+D -> Config -> press Add -> use "&Download" as title, press ok and then enter "cd <path to download>" (normaly C:\Users\<your username>\Downloads\ if you havent moved it) in the command field and press ok again.
Now you can access the Download folder by pressing CTRL+D and presssing D.
HTH
Hoecker sie sind raus!
Re: how to create a direct access to a folder
Drag and drop a folder to the button bar.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: how to create a direct access to a folder
About the "download" folder path, you are talking about a path like this : "C:\Users\<your username>\Downloads\".Sir_SiLvA wrote: 2025-04-14, 17:01 UTC and then enter "cd <path to download>" (normaly C:\Users\<your username>\Downloads\ if you havent moved it)
But in TC main window, the path for "downloads" is : "\\Téléchargements\". Why it is not begining by "C\Users ..." ?
Re: how to create a direct access to a folder
Because "\\Téléchargements\" is a virtual folderBut in TC main window, the path for "downloads" is : "\\Téléchargements\". Why it is not begining by "C\Users ..." ?
You can go directly to the virtual folder with the command
Code: Select all
cd ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{374DE290-123F-4565-9164-39C4925E467B}
Code: Select all
cd %$Downloads%
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: how to create a direct access to a folder
I have seen that I had saved several virtual folders inside TC/Hotlist. So in order to use physical folders only in the hotlist, I tried to find their path.petermad wrote: 2025-04-15, 10:39 UTC I recommend not using the virtual folder -TC have very limited rights in virtual folders.
My goal was to find something begining by : " C\Users\[username]\ ... ". So I have found it for :
— Downloads : C\Users\[username]\Downloads
— But for the Desktop I have tried to write C\Users\[username]\Desktop, but it does not works. Why ? I have only found : C\Users\[username]\OneDrive\Desktop that is working.
— Idem for Documents : I have found only : C\Users\[username]\OneDrive\Documents
Re: how to create a direct access to a folder
2Yo230
Open Windows registry (regedit.exe),
Follow these paths:
There, you will see where all the user folders actually reside (Shell Folders uses literal paths syntax; User Shell Folders uses variable-based paths syntax).
For the folders in question, regarding usage frequency, it may be worth adding their dedicated buttons right to the main toolbar:
Total Commander has special variables for said folders: %$Desktop%, %$Documents%, %$Downloads% (the naming is self-explanatory).
Note regarding Desktop:
Usually, what you see on your desktop is a combination of two folders' contents: your personal user desktop folder and a common all-users desktop folder. The latter contains nothing useful (if anything at all, except maybe a couple of the common apps shortcuts), so we can ignore it and use the former one (your personal) that is returned by the %$Desktop% variable.
Open Windows registry (regedit.exe),
Follow these paths:
Code: Select all
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
For the folders in question, regarding usage frequency, it may be worth adding their dedicated buttons right to the main toolbar:
Code: Select all
TOTALCMD#BAR#DATA
cd %$Desktop%
imageres.dll,174
Desktop
0
-1
Code: Select all
TOTALCMD#BAR#DATA
cd %$Documents%
imageres.dll,107
Documents
0
-1
Code: Select all
TOTALCMD#BAR#DATA
cd %$Downloads%
imageres.dll,175
Downloads
0
-1
Note regarding Desktop:
Usually, what you see on your desktop is a combination of two folders' contents: your personal user desktop folder and a common all-users desktop folder. The latter contains nothing useful (if anything at all, except maybe a couple of the common apps shortcuts), so we can ignore it and use the former one (your personal) that is returned by the %$Desktop% variable.
That it because you have opted for (knowingly or not) the backup of some basic folders like that in the cloud (Microsoft dubbed them as 'important' in the OneDrive settings [see 'OneDrive - Settings - Sync and backup' or 'Start - Settings - Update & Security - Files backup - Backup files to OneDrive']) (then such folders are physically moved to the cloud folder).
Last edited by beb on 2025-04-16, 03:44 UTC, edited 1 time in total.
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
Re: how to create a direct access to a folder
2Yo230
These should all work too:
You can run this command (from TC's command line):
to read more about environment variables
You are missing the colon after C so try C:\Users\[username]\Desktop— But for the Desktop I have tried to write C\Users\[username]\Desktop, but it does not works
These should all work too:
Code: Select all
cd %USERPROFILE%\Desktop
cd C:\Users\%USERNAME%\Desktop
cd C:\%HOMEPATH%\Desktop
cd %HOMEDRIVE%\%HOMEPATH%\Desktop
cd %HOMEDRIVE%\Users\%USERNAME%\Desktop
cd %SYSTEMDRIVE%\%HOMEPATH%\Desktop
cd %SYSTEMDRIVE%\Users\%USERNAME%\Desktop
cd %$DESKTOP% (in TC only)
cd %${B4BFCC3A-DB2C-424C-B029-7FE99A87C641}% (TC only)
You can run this command (from TC's command line):
Code: Select all
hh.exe %COMMANDER_PATH%\TOTALCMD.CHM::env_vars.htm
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: how to create a direct access to a folder
That's a pretty brave suggestion. None of them would ever work for me (except the TC ones). Not all users are the same

They would work for most users most of the time, though.
Note. E.g. if their personal Desktop is in their personal cloud, "%OneDrive%\Desktop" might work.
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
Re: how to create a direct access to a folder
How come? Maybe not the ones starting with C:\ if your Windows is not installed on C:None of them would ever work for me
And the ones with \Users would not work on Windows XP.
But:
Code: Select all
cd %USERPROFILE%\Desktop
cd %HOMEDRIVE%\%HOMEPATH%\Desktop
cd %SYSTEMDRIVE%\%HOMEPATH%\Desktop
This was an answer to Yo230 who obviously has his Windows installed on C: and is not Using XP (mentioning "\Users" and not "\Documents and Settings")Not all users are the same
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: how to create a direct access to a folder
I have tried 2 things for desktop :petermad wrote: 2025-04-16, 03:43 UTC You are missing the colon after C so try C:\Users\[username]\Desktop
1) under the button C, in the address bar I entered "C:\Users\[username]\Desktop" and clicked Enter key.
Result : nothing happens (the desktop is not displayed).
2) As I had saved in Hotlist the "desktop" like that : "C:\Users\[username]\OneDrive\Desktop", I gone in Hotlist/Config/Desktop and put in the setting :
— cd C:\Users\[username]\Desktop : result : in the address bar it gives me "C:\Users\[username]\"
— cd %$Desktop% : result : in the address bar it gives me "C:\Users\[username]\OneDrive\Desktop"
Re: how to create a direct access to a folder
2Yo230
How about if you navigate to your user profile folder. In TC go to the root of drive C: - then double click on Users - and thereafter double-click on your username. Do you not see a folder named Desktop there?
It looks like there is something really wrong with you Windows installation.cd %$Desktop% : result : in the address bar it gives me "C:\Users\[username]\OneDrive\Desktop"
How about if you navigate to your user profile folder. In TC go to the root of drive C: - then double click on Users - and thereafter double-click on your username. Do you not see a folder named Desktop there?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: how to create a direct access to a folder
Is it possible that using a Microsoft account causes this so that the usual locations for system directories are redirected to OneDrive and every change to the profile (e.g. desktop, start menu, %AppData%) is synched via OneDrive to the MS account? I have no idea really how Microsoft accounts work, or OneDrive for that matter. It's just a guess.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: how to create a direct access to a folder
Maybe it is a Window 11 thing??
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: how to create a direct access to a folder
If I go to C:\Users\[username]\, I don't see any "Desktop" here.petermad wrote: 2025-04-16, 14:42 UTC How about if you navigate to your user profile folder. In TC go to the root of drive C: - then double click on Users - and thereafter double-click on your username. Do you not see a folder named Desktop there?
Is it possible to force Windows to do not use OneDrive for the desktop, in order to have something like "C:\Users\[username]\Desktop" ?