Posted July 24, 20204 yr Hi there, Just wondering if this is an option. I attempted to do the following with batch, but didn't work due to the %appdata% value resolving to somewhere in C:\Windows. mkdir %appdata%\Microsoft\Teams\Backgrounds\Uploads copy "\\SERVER\SHARE\Teams Backup Images\*.jpg" %appdata%\Microsoft\Teams\Backgrounds\Uploads /y  Any ideas? Cheers, Joe
July 29, 20204 yr Author I've banged my head against this and found something workable. Just dumps the pictures from the server into every user folder under C:\users. Bypasses the need to pass %username% or %appdata% properly. cd C:\users for /f %%i in ('dir /b') do mkdir c:\users\%%i\appdata\roaming\Microsoft\Teams\Backgrounds\Uploads for /f %%i in ('dir /b') do copy "\\SHARED SERVER LOCATION\*.jpg" C:\users\%%i\appdata\roaming\Microsoft\Teams\Backgrounds\Uploads /y Hope this helps someone eventually! Cheers, Joe
Create an account or sign in to comment