feature request: cm_OpenMyDocuments
Moderators: Hacker, petermad, Stefan2, white
[face=courier]On 09-03-2004 17:20:42 +0000 compie wrote:
c> It would be very usefull to have a command
c> cm_OpenMyDocuments that goed to the My Documents
c> directory of the current user.
cd ::{450D8FBA-AD25-11D0-98A8-0800361B1103}[/face]
c> It would be very usefull to have a command
c> cm_OpenMyDocuments that goed to the My Documents
c> directory of the current user.
cd ::{450D8FBA-AD25-11D0-98A8-0800361B1103}[/face]
[face=courier]The Protoss do NOT run from their enemies.
It is here, that we shall make our stand.[/face]
It is here, that we shall make our stand.[/face]
The My Documents folder can have any name. It is not even the matter of the language version of the Windows system. The path to the My Documents folder is stored in registry (ShellFolders), so it would be really convenient to have a command to go to this folder.ghisler(Author) wrote:Just use the following command:
cd %userprofile%\My Documents
- pdavit
- Power Member
- Posts: 1529
- Joined: 2003-02-05, 21:41 UTC
- Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
- Contact:
Well, create the command yourself. That's why we have the "user menu" internal commands, don't we (well, plus for other reasons too!). Just assign Black Dog's suggested command in your Start Menu and then use the corresponding "user menu" internal command on your menus for example.norfie wrote:IMHO all this solutions are only workarounds for missing feature of cm_OpenMyDocuments.
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
Christian Ghisler Rules!!!
But unfortunately not for W98.Sheepdog wrote:It works with different users too.Black Dog wrote: cd ::{450D8FBA-AD25-11D0-98A8-0800361B1103}
sheepdog

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
[face=courier]On 02-06-2004 12:57:17 +0000 IGL wrote:
I> Works well on Polish Windows too
Well, it should work regardless of localization.[/face]
I> Works well on Polish Windows too
Well, it should work regardless of localization.[/face]
[face=courier]The Protoss do NOT run from their enemies.
It is here, that we shall make our stand.[/face]
It is here, that we shall make our stand.[/face]
[face=courier]On 02-06-2004 14:19:58 +0000 norfie wrote:
n> Thanx, you're right. I tested it in command line only. In
n> directory hotlist works fine.
Actually this thread is about hypothetical internal command, so why did you executed it via CL? Don't you know, nice guy - internal commands doesn't work via CL? %)[/face]
n> Thanx, you're right. I tested it in command line only. In
n> directory hotlist works fine.
Actually this thread is about hypothetical internal command, so why did you executed it via CL? Don't you know, nice guy - internal commands doesn't work via CL? %)[/face]
[face=courier]The Protoss do NOT run from their enemies.
It is here, that we shall make our stand.[/face]
It is here, that we shall make our stand.[/face]
[face=courier]On 02-06-2004 14:06:28 +0000 Lefteous wrote:
L> From command line doesn't work for me, from button opens
L> "My documents", as a virtual folder.
Exactly, as a virtual folder - that 's not very good, actually, but anyway, better than nothing. And there is one limitation - you can't open "My documents" this way in current panel if some virtual folder already opened there.
Some other examples:
cd ::{20D04FE0-3AEA-1069-A2D8-08002B30309D} - My Computer
cd ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D} - Control Panel
cd ::{208D2C60-3AEA-1069-A2D7-08002B30309D} - My Network Places
cd ::{645FF040-5081-101B-9F08-00AA002F954E} - Recycle bin
cd ::{2227A280-3AEA-1069-A2DE-08002B30309D} - Printers and faxes
cd ::{7007ACC7-3202-11D1-AAD2-00805FC1270E} - Network Connections
cd ::{D6277990-4C6A-11CF-8D87-00AA0060F5BF} - Scheduled tasks
Thanx to Sergey Davydov and Ivan aka Atlanoff from Wincommander mail group.
BTW, Lefteous, what about an answer?[/face]
L> From command line doesn't work for me, from button opens
L> "My documents", as a virtual folder.
Exactly, as a virtual folder - that 's not very good, actually, but anyway, better than nothing. And there is one limitation - you can't open "My documents" this way in current panel if some virtual folder already opened there.
Some other examples:
cd ::{20D04FE0-3AEA-1069-A2D8-08002B30309D} - My Computer
cd ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D} - Control Panel
cd ::{208D2C60-3AEA-1069-A2D7-08002B30309D} - My Network Places
cd ::{645FF040-5081-101B-9F08-00AA002F954E} - Recycle bin
cd ::{2227A280-3AEA-1069-A2DE-08002B30309D} - Printers and faxes
cd ::{7007ACC7-3202-11D1-AAD2-00805FC1270E} - Network Connections
cd ::{D6277990-4C6A-11CF-8D87-00AA0060F5BF} - Scheduled tasks
Thanx to Sergey Davydov and Ivan aka Atlanoff from Wincommander mail group.
BTW, Lefteous, what about an answer?[/face]
Last edited by Black Dog on 2004-06-03, 07:14 UTC, edited 1 time in total.
[face=courier]The Protoss do NOT run from their enemies.
It is here, that we shall make our stand.[/face]
It is here, that we shall make our stand.[/face]
[face=courier]On 03-06-2004 09:06:19 +0000 norfie wrote:
n> Because cd works via CL in most cases?
Commander has some special intimate relations with "cd", executed from menu or button bar. Try to run e.g. "cd %SystemRoot%\system32\*.cpl" from both button bar and CL %).
n> What are the advantages of this over cm_Open...?
Actually, they rather have disadvantages. But anyway, the key word is "examples", nice guy. My business is to give you an information, what you gonna do with it is not my business %).[/face]
n> Because cd works via CL in most cases?
Commander has some special intimate relations with "cd", executed from menu or button bar. Try to run e.g. "cd %SystemRoot%\system32\*.cpl" from both button bar and CL %).
n> What are the advantages of this over cm_Open...?
Actually, they rather have disadvantages. But anyway, the key word is "examples", nice guy. My business is to give you an information, what you gonna do with it is not my business %).[/face]
Last edited by Black Dog on 2004-06-03, 09:00 UTC, edited 1 time in total.
[face=courier]The Protoss do NOT run from their enemies.
It is here, that we shall make our stand.[/face]
It is here, that we shall make our stand.[/face]