Notepad3 icon indicating copy to clipboard operation
Notepad3 copied to clipboard

How to support Total Commander?

Open 921j opened this issue 3 years ago • 1 comments

I have a txt file, there are some paths similar to the following: %LocalAppData%\MicrosoftEdge %LocalAppData%\Microsoft\Internet Explorer I want view this path by select and quickly jump to total commander like search with right menu "WebTemplate" So I change notepad3's setting like this WebTemplate1="D:\Program Files\TotalCMD\TOTALCMD64.EXE /O /T /L="%s"" But always failed! Error: Windows can not found file 'D:\Program Files\TotalCMD\TOTALCMD64.EXE /O /T /L="%LocalAppData%\Microsoft\Internet Explorer"' I run this commander in CMD, it worked D:\Program Files\TotalCMD\TOTALCMD64.EXE /O /T /L="%LocalAppData%\Microsoft\Internet Explorer" I trid this WebTemplate1="D:\Program Files\TotalCMD\TOTALCMD64.EXE" this can worked, I guess it is the reason for the space, so I have to use the quotation marks,but notepad3 do not support it. PLZ tell me how can make it workd?

921j avatar Sep 07 '22 18:09 921j

This is a little bit tricky:

[Settings2]
WebTemplate1="/O /T /L="%s" "
HyperlinkShellExURLWithApp=D:\Program Files\TotalCMD\TOTALCMD64.EXE
HyperlinkShellExURLCmdLnArgs=${URL}

(Space before last quote in WebTemplate1) Then Open selection with WebTemplate1 context menu item.

RaiKoHoff avatar Sep 19 '22 19:09 RaiKoHoff