Open Folders in Total Commander instead in Windows Explorer

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
sww5
Junior Member
Junior Member
Posts: 2
Joined: 2003-04-03, 19:58 UTC
Location: Slovenia

Open Folders in Total Commander instead in Windows Explorer

Post by *sww5 »

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...
TucknDar
Senior Member
Senior Member
Posts: 227
Joined: 2003-02-07, 09:44 UTC
Location: Oslo
Contact:

Post by *TucknDar »

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
Renard_Roux
Junior Member
Junior Member
Posts: 37
Joined: 2003-02-08, 13:51 UTC
Location: Moscow, Russia

Post by *Renard_Roux »

I prefer context menu :
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
TucknDar
Senior Member
Senior Member
Posts: 227
Joined: 2003-02-07, 09:44 UTC
Location: Oslo
Contact:

Post by *TucknDar »

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""
That won't do you much good if you want to doubleclick your explorer-desktop icon, which I believe is what sww5 meant.
license #76904
sww5
Junior Member
Junior Member
Posts: 2
Joined: 2003-04-03, 19:58 UTC
Location: Slovenia

Better solution

Post by *sww5 »

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...
TucknDar
Senior Member
Senior Member
Posts: 227
Joined: 2003-02-07, 09:44 UTC
Location: Oslo
Contact:

Post by *TucknDar »

Nice :)

for various things I've used batch (*.BAT) before, but the prompt popping up has always been annoying, so shortcuts are always preferred. win-scripting is actually quite useful, too...
license #76904
Post Reply