feature request: cm_OpenMyDocuments

English support forum

Moderators: Stefan2, white, sheep, Hacker

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

feature request: cm_OpenMyDocuments

Post by *compie » 2004-03-09, 15:20 UTC

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: 445
Joined: 2003-02-08, 15:43 UTC

Post by *Raymond » 2004-03-09, 15:23 UTC

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 » 2004-03-09, 17:00 UTC

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 » 2004-03-09, 17:10 UTC

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: 37570
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2004-03-09, 17:13 UTC

Just use the following command:

cd %userprofile%\My Documents
Author of Total Commander
http://www.ghisler.com

User avatar
Lefteous
Power Member
Power Member
Posts: 9457
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous » 2004-03-09, 20:00 UTC

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 » 2004-03-09, 20:25 UTC

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: 9457
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous » 2004-03-09, 20:33 UTC

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 » 2004-03-09, 20:46 UTC

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: 1525
Joined: 2003-02-05, 21:41 UTC
Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
Contact:

Post by *pdavit » 2004-03-09, 22:46 UTC

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 » 2004-03-10, 18:31 UTC

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 » 2004-03-10, 22:11 UTC

[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: 1321
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer » 2004-03-11, 12:47 UTC

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 -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Latest TC / x32: WinXPx32 SP3 / x64: Clients/Servers from Win7SP1 through Win19Server

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

Post by *compie » 2004-03-12, 13:43 UTC

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: 9457
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous » 2004-03-12, 13:54 UTC

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