Skip to content

Commit

Permalink
Merge pull request #136 from BigoStream/Development
Browse files Browse the repository at this point in the history
Add: New Functions
  • Loading branch information
REALSDEALS authored Nov 30, 2022
2 parents 2faf348 + 5762693 commit 5ae945a
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 27 deletions.
7 changes: 7 additions & 0 deletions Documentation/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog.md - pcHealth

## 30-11-2022 - @BigoStream

Added new functions to the script:
- Disk Optimilisation through the script.
- Disk Cleaning through the script.
- Trace route (tracert) through the script.

## 22-11-2022 - @BigoStream - Full Version Release 1.5.9

Changed some colors.
Expand Down
3 changes: 2 additions & 1 deletion Documentation/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ For now only the version names will be displayed, in the future there might be e
# Current Version(s)

Full Release - v1.5.9 (Stable)
Beta Release - v1.5.7-beta
Beta Release - v1.6.0-beta
Alpha Release - v0.2.1-alpha (PowerShell)

## Older Releases
Expand All @@ -31,6 +31,7 @@ Here you can see a overview of the older version.

### Beta Release(s)

- Beta Release - v1.6.0-beta
- Beta Release - v1.5.7-beta
- Beta Release - v1.5.5-beta
- Beta Release - v1.5.3-beta
Expand Down
92 changes: 66 additions & 26 deletions Scripts/CMD/pcHealth.bat
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if '%errorlevel%' NEQ '0' (
:--------------------------------------
:: MainCode
@echo off
title pcHealth - Check your PC's Health! - version 1.5.9
title pcHealth - Check your PC's Health! - version 1.6.0-beta
cd /
color D
cls
Expand All @@ -42,7 +42,7 @@ echo Thanks for downloading and using pcHealth!
echo Please be sure that you are running this Batch file in Administrator mode.
echo.
echo Made by REALSDEALS - Licensed under GNU-3 (You are free to use, but not to change or to remove this line.)
echo You are now using version 1.5.9
echo You are now using version 1.6.0-beta
echo.
echo %DATE%, %TIME%
echo.
Expand Down Expand Up @@ -74,17 +74,18 @@ echo Enter number 6 to generate a battery report. (Laptop only)
echo Enter number 7 to open the GUI to Windows Updates.
echo Enter number 8 to start a short ping test.
echo Enter number 9 to start a continues ping test.
echo Enter number 10 to update system programs.
echo Enter number 11 to re-start the audio drivers of your system.
echo Enter number 12 to re-open the generated battery report file.
echo Enter number 13 to re-open the CBS.log (AKA DISM.log)
echo Enter number 14 to get your Ninite! Includes Edge, Chrome, VLC and 7Zip.
echo Enter number 15 to see your systems Windows License key.
echo Enter number 16 BIOS Password Recovery.
echo Enter number 17 to shutdown, reboot or log off from your PC/laptop.
echo Enter number 18 to open the programs menu.
echo Enter number 19 to return to the previous menu.
echo Enter number 20 to close this batch file.
echo Enter number 10 to start a trace route to Google.
echo Enter number 11 to update system programs.
echo Enter number 12 to re-start the audio drivers of your system.
echo Enter number 13 to re-open the generated battery report file.
echo Enter number 14 to re-open the CBS.log (AKA DISM.log)
echo Enter number 15 to get your Ninite! Includes Edge, Chrome, VLC and 7Zip.
echo Enter number 16 to see your systems Windows License key.
echo Enter number 17 BIOS Password Recovery.
echo Enter number 18 to shutdown, reboot or log off from your PC/laptop.
echo Enter number 19 to open the programs menu.
echo Enter number 20 to return to the previous menu.
echo Enter number 21 to close this batch file.
echo ...........................................................
echo.

Expand All @@ -96,19 +97,22 @@ IF %B%==4 GOTO DISM
IF %B%==5 GOTO SCSM
IF %B%==6 GOTO BATTERY
IF %B%==7 GOTO UPDATE
IF %B%==8 GOTO SHORTPING
IF %B%==9 GOTO CONTINUESPING
IF %B%==10 GOTO SYSUPDATE
IF %B%==11 GOTO AUDIORE
IF %B%==12 GOTO BATOPEN
IF %B%==13 GOTO OPENCBSLOG
IF %B%==14 GOTO NINITE
IF %B%==15 GOTO LICENSE
IF %B%==16 GOTO BIOSPW
IF %B%==17 GOTO RESHUT
IF %B%==18 GOTO PROGRAMS
IF %B%==19 GOTO MENU
IF %B%==20 GOTO CLOSE
IF %B%==8 GOTO DFR
IF %B%==9 GOTO CLMGR
IF %B%==10 GOTO SHORTPING
IF %B%==11 GOTO CONTINUESPING
IF %B%==12 GOTO TRACEGOOGLE
IF %B%==13 GOTO SYSUPDATE
IF %B%==14 GOTO AUDIORE
IF %B%==15 GOTO BATOPEN
IF %B%==16 GOTO OPENCBSLOG
IF %B%==17 GOTO NINITE
IF %B%==18 GOTO LICENSE
IF %B%==19 GOTO BIOSPW
IF %B%==20 GOTO RESHUT
IF %B%==21 GOTO PROGRAMS
IF %B%==22 GOTO MENU
IF %B%==23 GOTO CLOSE

:PROGRAMS
cls
Expand Down Expand Up @@ -274,6 +278,28 @@ IF %L%==1 GOTO TOOLS
IF %L%==2 GOTO MENU
IF %L%==3 GOTO CLOSE

:DFR
cls
color 0A
dfrgui.exe
pause
echo.
SET /P LK=Enter number 1 to return to the previous sub-menu, enter number 2 to return to the main-menu or enter number 3 to exit the script. Enter:
IF %L%==1 GOTO TOOLS
IF %L%==2 GOTO MENU
IF %L%==3 GOTO CLOSE

:CLMGR
cls
color 0A
cleanmgr.exe
pause
echo.
SET /P LKT=Enter number 1 to return to the previous sub-menu, enter number 2 to return to the main-menu or enter number 3 to exit the script. Enter:
IF %L%==1 GOTO TOOLS
IF %L%==2 GOTO MENU
IF %L%==3 GOTO CLOSE

:SHORTPING
cls
color 0A
Expand All @@ -297,6 +323,20 @@ IF %N%==1 GOTO TOOLS
IF %N%==2 GOTO MENU
IF %N%==2 GOTO CLOSE

:TRACEGOOGLE
cls
color 0A
echo.
echo Starting a trace route to Google with a maximum of '30' hops.
echo.
tracert www.google.com
pause
echo.
SET /P NM=Enter number 1 to return to the previous sub-menu menu, enter number 2 to return to the main-menu or enter number 3 to exit the script. Enter:
IF %NM%==1 GOTO TOOLS
IF %NM%==2 GOTO MENU
IF %NM%==3 GOTO CLOSE

:AUDIORE
cls
color 0A
Expand Down

0 comments on commit 5ae945a

Please sign in to comment.