-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
184 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,64 @@ | ||
sfc /scannow | ||
DISM /Online /Cleanup-Image /CheckHealth | ||
DISM /Online /Cleanup-Image /ScanHealth | ||
DISM /Online /cleanup-Image /RestoreHealth | ||
@echo off | ||
cls | ||
color 0a | ||
|
||
echo "END" | ||
:menu | ||
cls | ||
echo ==================================== | ||
echo Welcome to FixWin | ||
echo ==================================== | ||
echo. | ||
|
||
echo 1. Display system information | ||
echo 2. Run System File Checker (sfc /scannow) | ||
echo 3. Check Image Health (DISM) | ||
echo 4. Exit | ||
echo. | ||
|
||
set /p choice=Enter your choice (1-4): | ||
|
||
if "%choice%"=="1" ( | ||
echo. | ||
echo System Information: | ||
echo ------------------- | ||
systeminfo | find "OS Name" | ||
systeminfo | find "OS Version" | ||
systeminfo | find "System Manufacturer" | ||
systeminfo | find "System Model" | ||
systeminfo | find "Total Physical Memory" | ||
echo. | ||
pause | ||
goto :menu | ||
) else if "%choice%"=="2" ( | ||
echo. | ||
echo Running System File Checker (sfc /scannow)... | ||
echo. | ||
sfc /scannow | ||
echo. | ||
pause | ||
goto :menu | ||
) else if "%choice%"=="3" ( | ||
echo. | ||
echo Checking Image Health (DISM)... | ||
echo. | ||
DISM /Online /Cleanup-Image /CheckHealth | ||
echo. | ||
DISM /Online /Cleanup-Image /ScanHealth | ||
echo. | ||
DISM /Online /Cleanup-Image /RestoreHealth | ||
echo. | ||
pause | ||
goto :menu | ||
) else if "%choice%"=="4" ( | ||
echo. | ||
echo Exiting... | ||
echo. | ||
pause | ||
exit | ||
) else ( | ||
echo. | ||
echo Invalid choice! Please enter a number between 1 and 4. | ||
echo. | ||
pause | ||
goto :menu | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,64 @@ | ||
sfc /scannow | ||
DISM /Online /Cleanup-Image /CheckHealth | ||
DISM /Online /Cleanup-Image /ScanHealth | ||
DISM /Online /cleanup-Image /RestoreHealth | ||
@echo off | ||
cls | ||
color 0a | ||
|
||
echo "END" | ||
:menu | ||
cls | ||
echo ==================================== | ||
echo Welcome to FixWin | ||
echo ==================================== | ||
echo. | ||
|
||
echo 1. Display system information | ||
echo 2. Run System File Checker (sfc /scannow) | ||
echo 3. Check Image Health (DISM) | ||
echo 4. Exit | ||
echo. | ||
|
||
set /p choice=Enter your choice (1-4): | ||
|
||
if "%choice%"=="1" ( | ||
echo. | ||
echo System Information: | ||
echo ------------------- | ||
systeminfo | find "OS Name" | ||
systeminfo | find "OS Version" | ||
systeminfo | find "System Manufacturer" | ||
systeminfo | find "System Model" | ||
systeminfo | find "Total Physical Memory" | ||
echo. | ||
pause | ||
goto :menu | ||
) else if "%choice%"=="2" ( | ||
echo. | ||
echo Running System File Checker (sfc /scannow)... | ||
echo. | ||
sfc /scannow | ||
echo. | ||
pause | ||
goto :menu | ||
) else if "%choice%"=="3" ( | ||
echo. | ||
echo Checking Image Health (DISM)... | ||
echo. | ||
DISM /Online /Cleanup-Image /CheckHealth | ||
echo. | ||
DISM /Online /Cleanup-Image /ScanHealth | ||
echo. | ||
DISM /Online /Cleanup-Image /RestoreHealth | ||
echo. | ||
pause | ||
goto :menu | ||
) else if "%choice%"=="4" ( | ||
echo. | ||
echo Exiting... | ||
echo. | ||
pause | ||
exit | ||
) else ( | ||
echo. | ||
echo Invalid choice! Please enter a number between 1 and 4. | ||
echo. | ||
pause | ||
goto :menu | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,58 @@ | ||
# fixwin | ||
Windows fix commands | ||
# FixWin App | ||
|
||
FixWin App is a simple batch file application designed to provide a visually appealing interface within the Windows Command Prompt environment. It offers various options for displaying system information and executing system maintenance tasks. | ||
|
||
## Features | ||
|
||
- Display detailed system information including OS Name, OS Version, System Manufacturer, System Model, and Total Physical Memory. | ||
- Run System File Checker (sfc /scannow) to scan and repair corrupted system files. | ||
- Check Image Health using Deployment Image Servicing and Management (DISM) commands. | ||
- User-friendly menu system for easy navigation and interaction. | ||
|
||
## How to Use | ||
|
||
1. Clone the repository to your local machine: | ||
|
||
```bash | ||
git clone https://github.com/Nozdormv/fixwin.git | ||
``` | ||
|
||
2. Navigate to the directory where you cloned the repository. | ||
|
||
3. Double-click on the `FixWin` file to run the application. | ||
|
||
4. Follow the on-screen instructions to choose from the available options. | ||
|
||
## Usage | ||
|
||
- Option 1: Display System Information | ||
- Displays detailed system information such as OS Name, OS Version, System Manufacturer, System Model, and Total Physical Memory. | ||
|
||
- Option 2: Run System File Checker (sfc /scannow) | ||
- Initiates a scan of system files and attempts to repair any corrupted files. | ||
|
||
- Option 3: Check Image Health (DISM) | ||
- Utilizes Deployment Image Servicing and Management (DISM) commands to check and repair image health. | ||
|
||
- Option 4: Exit | ||
- Exits the Cool.bat App. | ||
|
||
## Contributing | ||
|
||
Contributions are welcome! If you'd like to contribute to FixWin App, please follow these steps: | ||
1. Fork the repository. | ||
2. Create a new branch (`git checkout -b feature/improvement`). | ||
3. Make your changes. | ||
4. Commit your changes (`git commit -am 'Add new feature'`). | ||
5. Push to the branch (`git push origin feature/improvement`). | ||
6. Create a new Pull Request. | ||
## License | ||
This project is licensed under the [MIT License](LICENSE). | ||
## Credits | ||
- Created by [Nozdormv](https://github.com/Nozdormv/) | ||
- ASCII art generated using [patorjk.com/software/taag](http://patorjk.com/software/taag/) |