I realized that the reason why it does not work with quotes around the path to the editor is that the Start command then thinks that it is the Title of the program, so a title needs to be added to make it work like here:
Code: Select all
TOTALCMD#BAR#DATA
%COMSPEC% /C
if exist %S1\* ((echo DO NOT MARK DIRECTORIES!) && (echo.) && pause) else chcp 65001 && %%COMSPEC%% /C for /F "usebackq delims=" %%n in (`type %WF`) do start "BEncode Editor" "E:\alkalmazások - telepÃtÅ‘k\Bittorrent\bencode\BEncode Editor.exe" "%%n"
wcmicons.dll,28
Open all selected files in notepad at the same time
1
-1
Code: Select all
TOTALCMD#BAR#DATA
%COMSPEC% /C
if exist %S1\* ((echo DO NOT MARK DIRECTORIES!) && (echo.) && pause) else chcp 65001 && %%COMSPEC%% /C for /F "usebackq delims=" %%n in (`type %WF`) do call "E:\alkalmazások - telepÃtÅ‘k\Bittorrent\bencode\BEncode Editor.exe" "%%n"
wcmicons.dll,28
Open all selected files in notepad one after another
1
-1