summaryrefslogtreecommitdiffstats
path: root/5-clean.bat
diff options
context:
space:
mode:
Diffstat (limited to '5-clean.bat')
-rw-r--r--5-clean.bat7
1 files changed, 7 insertions, 0 deletions
diff --git a/5-clean.bat b/5-clean.bat
new file mode 100644
index 0000000..bcbd3ad
--- /dev/null
+++ b/5-clean.bat
@@ -0,0 +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"