opus-nt/tweaks/longhorn-series/post-setup script - master/wim/Windows/Setup/Scripts/SetupComplete.cmd

13 lines
281 B
Batchfile
Raw Normal View History

2019-12-26 06:20:41 +00:00
@echo off
setlocal EnableDelayedExpansion
cd /d %~dp0
set outputFile=%SystemDrive%\opus-nt-setupcomplete.log
for %%i in (%cd%\opus\*.cmd) do (
2019-12-26 06:20:41 +00:00
echo - %%i - >> "%outputFile%"
call "%%i" 1>> "%outputFile%" 2>>&1
echo. >> "%outputFile%"
)
cd /d %SystemDrive%\
rmdir /s /q "%~dp0"