From 44626d03e9cb87df45c42758908de0c1507c8c51 Mon Sep 17 00:00:00 2001 From: efrick Date: Tue, 20 Apr 2021 14:17:51 -0400 Subject: [PATCH] Add cleanup to quick run --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e7c5320..9392275 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ 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% ``` This copies the bat file to a temporary location and runs it with the command switch to write the results to the desktop. @@ -45,7 +46,8 @@ The following can be selected at run-time. * `-file_location` - This switch allows the user to set the path of the text file containing the results. -* `-file_path` This is the path used for the system information text file. +* `-file_path` + - This is the path used for the system information text file. ## Dependencies @@ -61,4 +63,8 @@ Uses `echo` and `wmic`. This is now the recommended file to use. -It will require the ability to run Powershell Scripts which is restricted by default. \ No newline at end of file +It will require the ability to run Powershell Scripts which is restricted by default. + +## Dev Notes + +Going forward branch master will be write protected. Please do all further work on branches off of master. \ No newline at end of file