Files
fogsnippets/05_SetLockscreen_bnvbplus/PSWrapper.bat
Stefan Tollkühn ec74d4a2c1 Initial commit
2025-09-18 14:02:17 +02:00

6 lines
213 B
Batchfile

@echo off
set SRCPATH=%~dp0
cd "%SRCPATH:~0,-1%"
powershell.exe -ExecutionPolicy ByPass .\SetWallpaper.ps1
del /Q /F C:\ProgramData\Microsoft\Windows\SystemData\S-1-5-18\ReadOnly\LockScreen_Z\*.* 1>NUL 2>NUL