I am not sure if this is possible.
We have a file that gets copied to users folders daily as the file is updated often.
The .bat file first deletes all the files in every folder on our E:\User Folders\ directory.
It then copied the file 1 by 1 to each folder. Since the file is approx 200 mb, this takes a while and users that have their logon starting with a z for instance must wait a while for this file to get copied.
We run this in the middle of the night so this woudl not be a big deal, however everyone once in a while, we make an urgent change and must push the file out during work hours.
We would like to be able to do this in stages... Possibly run the .bat file which will replace the file for users that start with for example A-F, then G-M, and so on. This way users can work with the current version until the new one is copied over.
The current code is attached.
Any ideas or help would be greatly appreciated.
FOR /R "E:\User Folders\" %%I IN (sdms*.*) DO del "%%I" /q
FOR /R "E:|User Folders\" %%I IN (.) DO copy "E:\sdms.mdb" "%%I"