diff --git a/README.md b/README.md index 9392275..11622b4 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,8 @@ curl https://efrick.ddns.net/git/efrick/Sysinfo/raw/branch/master/sysinfo.ps1 > Powershell.exe -command "cd $env:userprofile; AppData\Local\Temp\sysinfo.ps1 -write_output" -del %userprofile% +del %userprofile%\AppData\Local\Temp\sysinfo.ps1 + ``` This copies the bat file to a temporary location and runs it with the command switch to write the results to the desktop.