Work on all selected <items> or save temp list of <items>
Posted: 15 Oct 2009 11:04
Hi all,
i have seen this "TeraCopy Integration" thread
and was wondering why is there that workaround - copy items to clipboard - save as file - ...
So i tried this with using "<items>" without any success.
run "X:\TeraCopy.exe copy <items> $target";
openwith "X:\TeraCopy.exe" copy "<items>" $Target;
openwith "X:\TeraCopy.exe" copy ""<items>"" ""$Target"";
Then i tried also with an simpler use:
msg <curitem>;
works on a few selected files, but shows only one file name, as expected.
msg <items>; didn't works, even quoted, shows only '<items>' literally .
Question:
can't i use <itemS> that way?
And i wonder why is there no var like <itemlist> , <baselist> , <namelist>
which stores an text file with all selected items in tmp under an temp name like xy3zhu.tmp
and so we can simply use this as parameter for such tools? Should i post this as an suggestion?
i have seen this "TeraCopy Integration" thread
and was wondering why is there that workaround - copy items to clipboard - save as file - ...
So i tried this with using "<items>" without any success.
run "X:\TeraCopy.exe copy <items> $target";
openwith "X:\TeraCopy.exe" copy "<items>" $Target;
openwith "X:\TeraCopy.exe" copy ""<items>"" ""$Target"";
Then i tried also with an simpler use:
msg <curitem>;
works on a few selected files, but shows only one file name, as expected.
msg <items>; didn't works, even quoted, shows only '<items>' literally .
Question:
can't i use <itemS> that way?
And i wonder why is there no var like <itemlist> , <baselist> , <namelist>
which stores an text file with all selected items in tmp under an temp name like xy3zhu.tmp
and so we can simply use this as parameter for such tools? Should i post this as an suggestion?
create a list file in the TEMP directory
with the names of the selected files and directories, and appends the name of the list file to the command line.
The list is deleted automatically when the called program quits. 6 types of list files can be created:
%L Long file names including the complete path, e.g. c:\Program Files\Long name.exe
%l (lowercase L) Short file names including the complete path, e.g. C:\PROGRA~1\LONGNA~1.EXE
%F Long file names without path, e.g. Long name.exe
%f Short file names without path, e.g. LONGNA~1.EXE
%D Short file names including the complete path, but using the DOS character set for accents.
%d Short file names without path, but using the DOS character set for accents.
%UL, %UF like %L and %F, but with an UTF-8 Unicode list file (with byte order marker)
%WL, %WF like %L and %F, but with an UTF-16 Unicode list file (with byte order marker)