Page 2 of 2

Re: Paste into Multiple Folders ?

Posted: 17 Feb 2022 05:57
by jerryzak
Today I had to again use "copy to many" script.

Please note (and this seems to be important) that I tested the whole procedure on Windows 7 Pro setup.

First I created a test folder, copied that 30 times, and created a dummy text file.

Then I followed the advice from the previous post:
admin wrote: ↑07 Feb 2022 14:19 ...it's recommended that you turn off "Show progress dialog" and "Keep progress dialog open" in Configuration | File Operations | File Operations | Custom Copy Operations | Configure...
Unfortunately that did not make any difference in my case -- just as before the script went through making 14 successful copies before choking.

Again, in the lower right I got the stripped white-and-blue "Non-completed Background Jobs" icon turning.

However, at this point I right-clicked on the white-and-blue stripey icon, context menu popped up, and one of the options was [checked] Enable Background Processing.
So I unchecked it and retried to copy one (1) dummy file into thirty (30) test folders -- and it worked this time without a hiccup!

For Some Reason The Image Is Not Fetched, So Just Click Here

===

After that successful run I decided to test this on another computer, starting from fresh install of XYPlorer.

This time, however, the script worked as promised even before I unchecked the Enable Background Processing option.

The main difference here is the version of OS -- on the second PC I have Windows 10 ver 21H2.

So... to make the long story short, it seems that your experience with this script may vary based on the OS it's running on.

Re: Paste into Multiple Folders ?

Posted: 22 Mar 2022 18:31
by jerryzak
Ahh... Yesterday I tried to run the same script on the 8-core / 16-threads setup with Win 11 ver 21H2 (OS Build 22000.556).
This installation is just about a week old with not that many installed programs or modifications done to the stock system.

This time I was copying two (2) files into about 200 destination folders.
The background process choked after the 63rd copy.

After unchecking Enable Background Processing (Tools > Configuration > File Operations > Background Processing > [ ] Enable Background Processing) the process successfully went through the entire destination folder list.

Re: Paste into Multiple Folders ?

Posted: 22 Mar 2022 18:42
by jupe
Well I did suggest how to do that in the script instead of manually each time:

viewtopic.php?p=195921#p195921

Re: Paste into Multiple Folders ?

Posted: 22 Mar 2022 18:56
by jerryzak
Yes... I saw your note on improving the script -- thanks.

Still, I was interested whether the software / original script was behaving differently based on underlying Windows OS version.
Here, my results are inconclusive, as so far I got:
Win 7 - no joy, need to disable Background Processing
Win 10 - worked as is
Win 11 - no joy, need to disable Background Processing

Re: Paste into Multiple Folders ?

Posted: 22 Mar 2022 19:00
by jupe
Oh ok, I see, you saw it and chose to not even acknowledge it and completely ignore it, anyway my guess would be speed of system, SSD HDD etc causing race condition, not OS.