w10install/wimscripts/RunScriptTest.cmd

16 lines
284 B
Batchfile
Raw Normal View History

2020-12-25 15:05:19 +01:00
@echo off
set SCRIPTS=%WINDIR%\Setup\scripts
2020-12-25 20:08:46 +01:00
set LOG=C:\SetupComplete.txt
2020-12-25 15:05:19 +01:00
mkdir %SCRIPTS% 1>nul 2>nul
2020-12-25 23:20:14 +01:00
del /Q %LOG% 1>nul 2>nul
2020-12-25 15:05:19 +01:00
echo ####### %0 #######
2020-12-25 20:08:46 +01:00
copy /Y SetupComplete.cmd %SCRIPTS%
2020-12-25 15:05:19 +01:00
echo ####### %0 #######
call %SCRIPTS%\SetupComplete.cmd
2020-12-25 20:08:46 +01:00
start notepad %LOG%
2020-12-25 15:05:19 +01:00