As nsp proposed to use the %P%S parameter, you got this:
%P%S should work - but only if you select a few files and press the button. If you drag the selected files onto the button, only the file being dragged is passed as the parameter.Peter wrote:Yes, it works.nsp wrote:...Did you try standard TC command, using %P%S or %p%s (DOS Names) as prfile32.exe seems to only work well with full name ?....![]()
But only with one file![]()
To test I created another button and this works with more then one file selected - if I press and do not drag:
Code: Select all
TOTALCMD#BAR#DATA
C:\tmp\test pfad\Sonderprogramme\PrintFile\PRFILE32.EXE
%P%S
C:\tmp\test pfad\Sonderprogramme\PrintFile\PRFILE32.EXE
C:\tmp\test pfad\Sonderprogramme\PrintFile\
-1
Cheers
Klaus
[Edit]:
Now I tried using my first button:
Code: Select all
TOTALCMD#BAR#DATA
%COMMANDER_PATH%\tools\lst2str.exe
/X:"c:\tmp\test pfad\Sonderprogramme\PrintFile\PRFILE32.EXE" /L:%L /N:30 /C:2048
C:\tmp\test pfad\Sonderprogramme\PrintFile\PRFILE32.EXE
PrintFile
-1
Conclusion:
Press, never drag.
