feature request: cm_OpenMyDocuments

English support forum

Moderators: white, Hacker, petermad, Stefan2

compie
Junior Member
Junior Member
Posts: 93
Joined: 2003-07-06, 18:47 UTC

feature request: cm_OpenMyDocuments

Post by *compie »

It would be very usefull to have a command cm_OpenMyDocuments that goed to the My Documents directory of the current user.
It's really inconvenient to go to C:\Documents and Settings\username\My Documents\ by hand.
Raymond
Senior Member
Senior Member
Posts: 454
Joined: 2003-02-08, 15:43 UTC

Post by *Raymond »

Why not simply put C:\Documents and Settings\username\My Documents\ into hotlist?
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Button too

Post by *Clo »

2compie
:) Hi !
• You can too create a button in the tool-bar carrying the folder with the mouse above a free area of the bar, keeping the left-button pressed; press too Shift or Alt, then loosen the key and the mouse button : the folder is in the bar as an icon, with which you can open directly that folder.
• You may change that icon with a specific one, also write a caption for the info-balloon from Options >>> Buttons.

:mrgreen:  Kind regards,
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
compie
Junior Member
Junior Member
Posts: 93
Joined: 2003-07-06, 18:47 UTC

Post by *compie »

We already have:

cm_OpenDesktop
cm_OpenDrives
cm_OpenRecycled

etc, so why no cm_OpenMyDocuments?

P.S. I have a diskette with total commander on it, which i use on a lot of pc's. Therefore using the directory hotlist is not an option.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Just use the following command:

cd %userprofile%\My Documents
Author of Total Commander
https://www.ghisler.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

or cd %Personal% (ultimate solution) in future TC versions. :D
cd %userprofile%\My Documents works on english windows versions only.
User avatar
Vansumsen
Power Member
Power Member
Posts: 761
Joined: 2003-11-09, 08:16 UTC
Location: Belgique
Contact:

Post by *Vansumsen »

Lefteous wrote:cd %userprofile%\My Documents works on english windows versions only.
cd %userprofile%\Mes Documents
Works fine with the french version of Windows2K
Just adapt to your version...

Cheers

Paul
Ouistiti, #11943

L'important n'est pas de convaincre, mais de donner à réfléchir.
The important thing is not to convince, but to incite to think.

1,77245385090552...
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Vansumsen
cd %userprofile%\Mes Documents
Works fine with the french version of Windows2K
Just adapt to your version...
That's what I'm doing at the moment ("%USERPROFILE%\Eigene Dateien" in german windows xp). The problem with this solution is that my tc usb stick installation fails on some computers where the user has:
1) Another language version of windows installed,
2) The user has chosen another directory for his own documents using Tweak UI or editing the registry keys directly (see below).
I'm waiting impatiently for the new "registry environment variables" feature in a future release of Total Commander which will enable you to use all variables in

Code: Select all

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
and

Code: Select all

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
just like ordinary environment variables.
User avatar
Vansumsen
Power Member
Power Member
Posts: 761
Joined: 2003-11-09, 08:16 UTC
Location: Belgique
Contact:

Post by *Vansumsen »

Lefteous wrote:2Vansumsen
[I'm waiting impatiently for the new "registry environment variables" feature in a future release of Total Commander which will enable you to use all variables in
It would be effectively very useful ! and not only for this problem !

Kind regards

Paul
Ouistiti, #11943

L'important n'est pas de convaincre, mais de donner à réfléchir.
The important thing is not to convince, but to incite to think.

1,77245385090552...
User avatar
pdavit
Power Member
Power Member
Posts: 1529
Joined: 2003-02-05, 21:41 UTC
Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
Contact:

Post by *pdavit »

compie wrote:We already have:

cm_OpenDesktop
cm_OpenDrives
cm_OpenRecycled

etc, so why no cm_OpenMyDocuments?

Why don't you create your own internal command for use? We have the ability you know! ;)
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
compie
Junior Member
Junior Member
Posts: 93
Joined: 2003-07-06, 18:47 UTC

Post by *compie »

pdavit wrote:
compie wrote:We already have:

cm_OpenDesktop
cm_OpenDrives
cm_OpenRecycled

etc, so why no cm_OpenMyDocuments?

Why don't you create your own internal command for use? We have the ability you know! ;)
How can I create my own command?
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[face=courier]On 10-03-2004 20:31:08 +0000 compie wrote:

c> How can I create my own command?

Read FAQ.txt.[/face]
User avatar
wanderer
Power Member
Power Member
Posts: 1578
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

ghisler(Author) wrote:Just use the following command:

cd %userprofile%\My Documents
Yes, it works but only if you haven't changed your "My Documents" path though TweakUI... :)
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
compie
Junior Member
Junior Member
Posts: 93
Joined: 2003-07-06, 18:47 UTC

Post by *compie »

wanderer wrote:
ghisler(Author) wrote:Just use the following command:

cd %userprofile%\My Documents
Yes, it works but only if you haven't changed your "My Documents" path though TweakUI... :)
AND it only works if you have the english version of windows.

Plenty of reasons to just add cm_OpenMyDocuments I think.
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2compie

Have you read my posting above? cd %PERSONAL% will work someday.

One more argument against an extra command:
We already have:

cm_OpenDesktop
cm_OpenDrives
cm_OpenRecycled

etc, so why no cm_OpenMyDocuments?
All above listed commands open virtual folders. "My Documents" is not a virtual folder, it always points to a physical directory.
Post Reply