Skip to content

Commit f4f3e6e

Browse files
committed
Fix error in servicing script
1 parent 891e2a7 commit f4f3e6e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

premake5.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,6 @@ workspace "MTADiag"
3939

4040
"src/**.cpp",
4141

42-
"res/**.rc"
42+
"res/**.rc",
43+
"res/**.bat"
4344
}

res/servicing.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,11 +332,11 @@ del /s/q *.tmp ~*.* *.partial
332332
@echo off
333333
cd /d %temp%
334334
for /r %%a in (*.*) do (
335-
del /f /q %~a
335+
del /f /q "%%~a"
336336
) >nul
337337
cd /d "%UserProfile%\Local Settings\Temporary Internet Files
338338
for /r %%b in (*.*) do (
339-
del /f /q %~b
339+
del /f /q "%%~b"
340340
) >nul
341341

342342
del C:\Windows\Prefetch\*.* /Q

0 commit comments

Comments
 (0)