Here is a fast version...
How to invoke it via XYplorer (adapt the path to the .exe in the script!):
Code: Select all
$srcFile = "%TEMP%\~XYSourceItems.txt";
writefile($srcFile, listfolder(, , 1, <crlf>), , "utf8");
$destination = inputfolder( , "Select Destination Directory of Files to get copied Timestamps");
$cmd = <<<>>>
"D:\Timestamp\Timestamp_x64.exe" /xyHWnd=<hwnd> /srcFile="$srcFile" /dstPath="$destination" /type="cma"
>>>;
run $cmd, "%TEMP%", 2;
The only other thing you should / could change is the
/type=
parameter
It accepts any combination of "c", "m", "a".
Default is "cma"
It will post a status message to XYplorer when it has finished its job.
E.g. for 2000 files it takes less than 500ms here...