THE OBJECTIVE:
I wanted to open My Documents shortcut on my Desktop with Total Commander instead in Windows Explorer...
THE SOLUTION:
Here is an easy way to open folders in Total Commander instead in Windows Explorer...
EXAMPLE #1: you want to open My Documents folder:
- create a shortcut to CMD.EXE (C:\WINDOWS\System32\CMD.EXE) on your desktop
- in the "Target" field put this: C:\WINDOWS\system32\cmd.exe /C start C:\Progra~1\TotalCMD\TOTALCMD.EXE path C:\Docume~1\%username%\Mydocu~1\
- in "Start in" field should be this: C:\WINDOWS\system32
EXAMPLE #2: you want to open My Documents folder in the left window and All Users Documents in the right window:
- create a shortcut to CMD.EXE (C:\WINDOWS\System32\CMD.EXE) on your desktop
- in the "Target" field put this: C:\WINDOWS\system32\cmd.exe /C start C:\Progra~1\TotalCMD\TOTALCMD.EXE path1 C:\Docume~1\%USERNAME%\Mydocu~1\ path2 C:\Docume~1\Alluse~1\Docume~1\
- in "Start in" field should be this: C:\WINDOWS\system32
You can do this for any folders of course, just keep the dos 8.1 file name format...
Open Folders in Total Commander instead in Windows Explorer
Moderators: Hacker, petermad, Stefan2, white
isn't it better to just make a shortcut (.lnk) to TC and put the parameters in there? I'm pretty sure it is possible. One could also go the wscript-way and make eiter a .vbs or a .js script, so you won't have to see the cmd-prompt pop up (although for only a moment). I'm no script-wiz, but there are tons of tutorials on the net, and it should be a very small script, so it's pretty easy 

license #76904
-
- Junior Member
- Posts: 37
- Joined: 2003-02-08, 13:51 UTC
- Location: Moscow, Russia
I prefer context menu :
some_name.reg
some_name.reg
REGEDIT4
[HKEY_CLASSES_ROOT\*\shell\Open in Totcmd]
@="Open in TC"
[HKEY_CLASSES_ROOT\*\shell\Open in Totcmd\command]
@="\"c:\\program files\\wincmd\\TOTALCMD.EXE\" \"/o\" \"%1\""
[HKEY_CLASSES_ROOT\Folder\shell\Open in Totcmd]
@="Open in TC"
[HKEY_CLASSES_ROOT\Folder\shell\Open in Totcmd\command]
@="\"c:\\program files\\wincmd\\TOTALCMD.EXE\" \"/o\" \"%1\""
Last edited by Renard_Roux on 2003-04-04, 10:27 UTC, edited 1 time in total.
# 85814 Personal licence
That won't do you much good if you want to doubleclick your explorer-desktop icon, which I believe is what sww5 meant.Renard_Roux wrote:I prefer context menu :
some_name.reg[HKEY_CLASSES_ROOT\*\shell\Open in Totcmd]
@="Open in TC"
[HKEY_CLASSES_ROOT\*\shell\Open in Totcmd\command]
@=""c:\\program files\\wincmd\\TOTALCMD.EXE" "/o" "%1""
[HKEY_CLASSES_ROOT\Folder\shell\Open in Totcmd]
@="Open in TC"
[HKEY_CLASSES_ROOT\Folder\shell\Open in Totcmd\command]
@=""c:\\program files\\wincmd\\TOTALCMD.EXE" "/o" "%1""
license #76904
Better solution
TucknDar: you're right - yes it is possible!
when i tried to do that previously windows kept telling me there are errors (no such path) etc..
well i tried it again and it works - so forget the Command Prompt!!!
"C:\Program Files\TotalCMD\TOTALCMD.EXE" path1 C:\Docume~1\%USERNAME%\Mydocu~1\ path2 .....
Renard_Roux: as for context menu's some people including me don't like it - i even delete unnecessary context menu's from registry, so why should i put one in? at the end you get stuck with huge menu when right clicking jamming your system...
when i tried to do that previously windows kept telling me there are errors (no such path) etc..
well i tried it again and it works - so forget the Command Prompt!!!
"C:\Program Files\TotalCMD\TOTALCMD.EXE" path1 C:\Docume~1\%USERNAME%\Mydocu~1\ path2 .....
Renard_Roux: as for context menu's some people including me don't like it - i even delete unnecessary context menu's from registry, so why should i put one in? at the end you get stuck with huge menu when right clicking jamming your system...