summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbreadcat2019-02-13 19:44:47 +0000
committerbreadcat2019-02-13 19:44:47 +0000
commiteaff701b2f3e1bff2f4290ad2fb12c567130b98d (patch)
tree8fcbeae0975e2a18ff69b41a3b4360c2808c0cb4
parente6452ca1b532ce02d2ff2c8efc173ce37f7327e8 (diff)
downloadwin10-prep-eaff701b2f3e1bff2f4290ad2fb12c567130b98d.tar.gz
win10-prep-eaff701b2f3e1bff2f4290ad2fb12c567130b98d.tar.bz2
win10-prep-eaff701b2f3e1bff2f4290ad2fb12c567130b98d.zip
Improve clean script
-rw-r--r--8-clean.bat4
1 files changed, 4 insertions, 0 deletions
diff --git a/8-clean.bat b/8-clean.bat
index 82427a0..bcbd3ad 100644
--- a/8-clean.bat
+++ b/8-clean.bat
@@ -1,3 +1,7 @@
rem clean up
if exist "%userprofile%\Desktop\*.lnk" del "%userprofile%\Desktop\*.lnk"
if exist "%allusersprofile%\Desktop\*.lnk" del "%allusersprofile%\Desktop\*.lnk"
+if exist "%userprofile%\Desktop\*.appref-ms" del "%userprofile%\Desktop\*.appref-ms"
+if exist "%allusersprofile%\Desktop\*.appref-ms" del "%allusersprofile%\Desktop\*.appref-ms"
+if exist "%public%\Desktop\*.lnk" del "%public%\Desktop\*.lnk"
+if exist "%public%\Desktop\*.lnk" del "%public%\Desktop\*.lnk"