diff --git a/scripts/unpack-7zip.cmd b/scripts/unpack-7zip.cmd index d62667b..40ed021 100644 --- a/scripts/unpack-7zip.cmd +++ b/scripts/unpack-7zip.cmd @@ -24,7 +24,7 @@ echo moving 7-zip binaries to tools folder ... move /Y %T%\Files\7-Zip\7z.exe %TOOLS% move /Y %T%\Files\7-zip\7z.dll %TOOLS% move /Y %T%\Files\7-zip\7zCon.sfx %TOOLS% -del /S /Q /A %T%\%MSI% 1>nul 2>nul +del /F /Q %T%\%MSI% 1>nul 2>nul rd /S /Q %T%\Files echo ####### %0 ####### diff --git a/scripts/unpack-vnc.cmd b/scripts/unpack-vnc.cmd index 9e708bd..f596972 100644 --- a/scripts/unpack-vnc.cmd +++ b/scripts/unpack-vnc.cmd @@ -22,7 +22,7 @@ cd %SCRIPTS% echo moving vnc binary to tools folder ... move /Y %T%\PFiles\TightVNC\tvnviewer.exe %TOOLS% -del /S /Q /A %T%\%MSI% 1>nul 2>nul +del /F /Q %T%\%MSI% 1>nul 2>nul rd /S /Q %T%\PFiles rem create symbolic link ... diff --git a/scripts/unpin-taskbar-icons.cmd b/scripts/unpin-taskbar-icons.cmd index cfbc381..98a0c8e 100644 --- a/scripts/unpin-taskbar-icons.cmd +++ b/scripts/unpin-taskbar-icons.cmd @@ -3,7 +3,7 @@ echo ####### %0 ####### echo removing all applications from taskbar ... -del /F /S /Q /A "%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\*" +del /F /S /Q "%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\*" reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband /F taskkill /f /im explorer.exe start explorer.exe diff --git a/tools/logon.cmd b/tools/logon.cmd index 03ad5c6..8d4df7e 100644 --- a/tools/logon.cmd +++ b/tools/logon.cmd @@ -467,6 +467,7 @@ echo Deleting chrome cache and history ... taskkill /f /im chrome.exe /FI "USERNAME eq %USERNAME%" 2>nul rd /S /Q %USERPROFILE%"\AppData\Local\Google\Chrome\User Data\Default\Cache" 2>nul del /F /Q %USERPROFILE%"\AppData\Local\Google\Chrome\User Data\Default\History*" 2>nul +del /F /Q %USERPROFILE%"\Desktop\Google Chrome.lnk" 2>nul echo. echo Other tasks and fixes for the user