Sometimes a copy&paste a filename from the address bar in internet explorer into the command line of total commander.
For example:
cd file:///C:/temp/somefile.html
Unfortunately, this doesn't work directly. I have to remove "file:///" by hand. Please make this work like users expect.
support file:/// URL's
Moderators: Hacker, petermad, Stefan2, white
Hi, compie.
As a matter of fact, in the commandline
(1) "cd" means "change directory", not "jump to a file"
(2) The prefix "file:///" is only used inside browser to indicate that you want to open a locally stored file, not a URL.
I assume you expect this commandline, entered on the TotalCommander commandline, to have the same effect as this one:
Note that this commandline will not work if entered at the cmd.exe command prompt at all.
Regards,
Karl
So you are users actually. Because I do not expect a syntactically incorrect commandline to yield more than a meaningful error message.Please make this work like users expect.

As a matter of fact, in the commandline
you expect TotalCommander to correct 2 syntactical mistakes for you:cd file:///C:/temp/somefile.html
(1) "cd" means "change directory", not "jump to a file"
(2) The prefix "file:///" is only used inside browser to indicate that you want to open a locally stored file, not a URL.
I assume you expect this commandline, entered on the TotalCommander commandline, to have the same effect as this one:
T.C will change to C:\temp and mark the file "somefile.html".cd C:\temp\somfile.html
Note that this commandline will not work if entered at the cmd.exe command prompt at all.
Regards,
Karl
Re: support file:/// URL's
Add the following to your registry (adapt "c:\\Util\\totalcmd\" to your installation path!):compie wrote:Sometimes a copy&paste a filename from the address bar in internet explorer into the command line of total commander.
For example:
cd file:///C:/temp/somefile.html
Unfortunately, this doesn't work directly. I have to remove "file:///" by hand. Please make this work like users expect.
This way you can simply execute (no need for "cd")OpenFileInTC.reg wrote:Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell]
[HKEY_CLASSES_ROOT\*\shell\Open in Total Commander]
[HKEY_CLASSES_ROOT\*\shell\Open in Total Commander\command]
@="c:\\Util\\totalcmd\\totalcmd.exe /O /T /R="%1""
to open the folder into TC's right panel, and place the cursor to the given file.TC: command line wrote: file:///C:/temp/somefile.html
HTH,
Holger
Edit: Sorry my mistake, this works only with non associated files ...