Code: Select all
// Copy Settings|Extension|SendTo ... etc. items to their parent folder
foreach($file, $settingsFiles, "|") {
if($file != "") {
$dstPath = replace(regexreplace($file, "(.*(?=\\)).*", "$1"), $osVer, "");
copyto $dstPath, $file;
}
}D:\Tools\Bulk Rename Utility\.Settings\Windows_7\.Settings [Install].bat
to
D:\Tools\Bulk Rename Utility\.Settings
The $osVer in this case is "Windows_7".
Custom Copy is enabled for all copy operations.
Name collisions = overwrite.
Actually, $settingsFiles contains 25 .bat files, separated via "|".
My problem:
Only the first 11 files are copied, the other files are in a "loading" state. Please look at the screenshot. I have to quit XY because the other 14 copy elements won't get executed. There aren't any permission
issues, "Everyone" has full access to all files / folders on that SSD.
When I switch off "background processing" copying all files works flawlessly.
Part of my problem: I could live without background processing by turning it off in the script but I use
"Show progress dialog" by default in the custom copy settings and so I get 25 dialog windows during
the copying process (which ofc go away by themselfes (keep progress dialog open is switched off) but it just
looks ... dumb
Any hints, why background processing causes these issues?
XYplorer Beta Club