I found these two posts, but nothing there helped me.
https://www.ghisler.ch/board/viewtopic.php?t=33584
https://www.ghisler.ch/board/viewtopic.php?t=51022
Code: Select all
Command: c:\Progra~1\TotalCmd\Addons\TEST.cmd
Parameters: %P
Code: Select all
[TEST.cmd]
rem Echo just for debuging
echo %1*.jpg
rem c:\Progra~1\TotalCmd\Addons\magick.exe mogrify -resize 1280x1280 -quality 75 %1*.jpg
Parameters: "%P" results in {"c:\my path"*.jpg}
So double quotes solves the space issue, but adds a another issue.