Skip to content
Snippets Groups Projects
Commit 84786c30 authored by JG's avatar JG
Browse files

Unified pushd/popd usage

parent 77201ea5
No related branches found
No related tags found
No related merge requests found
......@@ -34,10 +34,10 @@ for /f "tokens=*" %%a in ('dir /A:D /b') do (
pushd "C:\Users\%%a\AppData\Local\Microsoft\Windows" && (
rd /s /q WebCache
del /q /f WebCacheLock.dat
)
popd
)
)
)
popd
)
echo Done.
......
......@@ -32,8 +32,8 @@ net stop spooler
pushd "%~dp0\ScriptFiles\PrinterNotInstallable" && (
reg import "Printer Spooler Registry.reg"
robocopy spool C:\Windows\System32\spool *
)
popd
)
net start spooler
echo Done.
pause
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment