LeighWardle
asked on
PowerShell script to copy file to all folders of the form C:\Users\AnyUserName\CIRCLY7
Hi Experts,
I'm after a PowerShell script that will do the following:
For each folder of the form C:\Users\AnyUserName\CIRCL Y7
copy C:\myfolder\myfile.xyz to C:\Users\AnyUserName\CIRCL Y7\myfile. xyz
Not sure if it is any help, but I used a Regular Expression editor using C:\Users\AnyUserName\CIRCL Y7 as a template.
The result was (C:\\Users\\).*[^\\]+.*(CI RCLY7)
Regards,
Leigh
I'm after a PowerShell script that will do the following:
For each folder of the form C:\Users\AnyUserName\CIRCL
copy C:\myfolder\myfile.xyz to C:\Users\AnyUserName\CIRCL
Not sure if it is any help, but I used a Regular Expression editor using C:\Users\AnyUserName\CIRCL
The result was (C:\\Users\\).*[^\\]+.*(CI
Regards,
Leigh
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Regards,
Leigh