TC as the default file manager under Windows 10

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: TC as the default file manager under Windows 10

Post by *tuska »

2ciftciemir
Look here to see if this helps.
Please follow the instructions very carefully!
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: TC as the default file manager under Windows 10

Post by *Horst.Epp »

What the problem to change it.
There are no Microsoft articles or anything else needed.

Edit the .reg File with the path of your TC installation as Stefan2 said.
Double click the changed file in TC and say Ok to the UAC prompt.
No need to know anything about the Regedit tool.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC as the default file manager under Windows 10

Post by *ghisler(Author) »

@="c:\Program Files\totalcmd\TOTALCMD64.EXE"
That's the problem, it tells Windows to open file
c:\Program
with parameter
Files\totalcmd\TOTALCMD64.EXE

Read Stefan2's reply for the correct text for the .reg file.
Author of Total Commander
https://www.ghisler.com
ciftciemir
Junior Member
Junior Member
Posts: 8
Joined: 2023-03-24, 08:29 UTC

Re: TC as the default file manager under Windows 10

Post by *ciftciemir »

nvm fixed it by restoring windows to a prev date
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: TC as the default file manager under Windows 10

Post by *tuska »

Out of interest, I have now carried out a TC installation, in the following path:

Code: Select all

C:\Program Files\totalcmd\TOTALCMD64.EXE
When using the following code (start TC as administrator, then double-click on the new .reg file to be created)
after double-clicking on a folder in Windows Explorer
this folder will be opened in a newly created tab in the active window of Total Commander!
File name, e.g. WindowsExplorer_To_TotalCommander_ON_Parameter_OAST_C-Program-Files_totalcmd.reg
@="C:\\Program Files\\totalcmd\\TOTALCMD64.EXE /O /A /S /T \"%1\""
Please note the double backslashes! Adjust the path if necessary!

Code: Select all

Windows Registry Editor Version 5.00
 
 [HKEY_CLASSES_ROOT\Drive\shell]
 @="open"
 
 [HKEY_CLASSES_ROOT\Drive\shell\open]
 
 [HKEY_CLASSES_ROOT\Drive\shell\open\command]
 @="C:\\Program Files\\totalcmd\\TOTALCMD64.EXE /O /A /S /T \"%1\""
 
 [HKEY_CLASSES_ROOT\Directory\shell]
 @="open"
 
 [HKEY_CLASSES_ROOT\Directory\shell\open]
 
 [HKEY_CLASSES_ROOT\Directory\shell\open\command]
 @="C:\\Program Files\\totalcmd\\TOTALCMD64.EXE /O /A /S /T \"%1\""
When using the following code (start TC as administrator, then double-click on the .reg file to be created)
after double-clicking on a folder in Windows Explorer
this folder will be opened in the active window of Total Commander and NO tab will be created!
File name, e.g. WindowsExplorer_To_TotalCommander_ON_Parameter_OAS_C-Program-Files_totalcmd.reg
@="C:\\Program Files\\totalcmd\\TOTALCMD64.EXE /O /A /S \"%1\""
Please note the double backslashes! Adjust the path if necessary!

Code: Select all

Windows Registry Editor Version 5.00
 
 [HKEY_CLASSES_ROOT\Drive\shell]
 @="open"
 
 [HKEY_CLASSES_ROOT\Drive\shell\open]
 
 [HKEY_CLASSES_ROOT\Drive\shell\open\command]
 @="C:\\Program Files\\totalcmd\\TOTALCMD64.EXE /O /A /S \"%1\""
 
 [HKEY_CLASSES_ROOT\Directory\shell]
 @="open"
 
 [HKEY_CLASSES_ROOT\Directory\shell\open]
 
 [HKEY_CLASSES_ROOT\Directory\shell\open\command]
 @="C:\\Program Files\\totalcmd\\TOTALCMD64.EXE /O /A /S \"%1\""
Important notes:
  1. Explanation on the parameters: /O /A /S /T -> Press F1 for Help, please see point 4.a. Command line parameters
  2. After execution of the script as administrator and subsequent proper registry entry, this function is IMMEDIATELY available,
    i.e. the PC does not have to be restarted.
  3. If you want to change between these two scripts, i.e. e.g. first use the variant WITH the creation of a tab in TC (/O /A /S /T)
    and then prefer the variant WITHOUT a tab in TC (/O /A /S), then it is sufficient to simply run the desired script as administrator.
    The registry entries are overwritten and the function is immediately available.
  4. Further details, e.g. how to remove these settings from the registry, can be found here.
    I highly recommend familiarising yourself with these details BEFORE execution!

Windows 11 Pro (x64) Version 22H2 (OS build Build 22621.1413) | TC 10.52 x64
Post Reply