This is almost exactly what I need for a task I have outstanding, the only difference is that I wish to copy a particular file out to a specifed sub-folder level on a group of users personal drives.
Example:
I have a file called file.txt on the root of D:\ and I wish to copy it into the App folder of all users D:\username\app folders, where I have around 200 Username folders.
So it looks a bit like this:
D:\user1\app
D:\user2\app
D:\user3\app
and the final complication is, that if the file already exists, it shouldn't overwrite it!
Can this FOR command be adjusted to do this?
Regards
Nigel Smee