Quantcast
Channel: Total Commander
Viewing all articles
Browse latest Browse all 18748

Eng :: RE: Add all selected files to command line

$
0
0
Author: Stefan2
Posted: Sat Jul 16, 2016 4:09 am (GMT -6)

Right click an button, chose 'Change', press F1 key to read the help.

Depends on what you mean on "command line",
but I guess %L or %F is what you are looking for.
Next use your command line tools to parse that list
and process each line/file after the other.



Command line usage:
for /f "usebackq delims=*" %f in ('TYPE "%L"') do @echo %f

Batch file usage:
for /f "usebackq delims=*"%%f in ('TYPE "%L"') do @echo %%f

As TC Button:
CMD=cmd /c
PARAM=for /f "usebackq delims=*"%%f in ('TYPE "%L"') do @echo %%f


CMD=PowerShell -NoExit -NoProfile -ExecutionPolicy Bypass
PARAM=TYPE %L | ForEach{ $_ }


There are maaany examples to find in the forum.
For detailed help, please post more what you are after.
_________________
MfG, Stefan
WinXP-10, 32+64-Bit
Am Anfang war das Wort... Darum: Wehret den Anfängen. Kein Viertes Reich! - (☪ oe is †) = ☮


Viewing all articles
Browse latest Browse all 18748

Trending Articles