I'm trying to extract a handful of .jpgs
to a certain directory (%APPDATA%\Microsoft\Teams\Backgrounds\Uploads)
I've tried using a .bat
file:
@echo off
rem install.bat
mkdir %APPDATA%\Microsoft\Teams\Backgrounds\Uploads
echo %ERRORLEVEL% created directory %APPDATA%\Microsoft\Teams\Backgrounds\Uploads
copy * %APPDATA%\Microsoft\Teams\Backgrounds\Uploads
echo %ERRORLEVEL% copied files
del %APPDATA%\Microsoft\Teams\Backgrounds\Uploads\install.bat
echo %ERRORLEVEL% success?
But this just gives me an error
I also tried an .inf
file:
[version]
signature="$CHICAGO$"
[DefaultInstall]
CopyFiles=install.files
[DestinationDirs]
install.files=-1,"%APPDATA%\Microsoft\Teams\Backgrounds\Uploads"
[install.files]
Kingdom Tower.jpg
Night Bridge.jpg
Seoul.jpg
Singapore Dreams.jpg
But this just doesn't seem to do anything at all.