Skip to content

Commit d49c75e

Browse files
committed
2.0.0
1 parent d9f170c commit d49c75e

File tree

3 files changed

+184
-12
lines changed

3 files changed

+184
-12
lines changed

FixWin

+63-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,64 @@
1-
sfc /scannow
2-
DISM /Online /Cleanup-Image /CheckHealth
3-
DISM /Online /Cleanup-Image /ScanHealth
4-
DISM /Online /cleanup-Image /RestoreHealth
1+
@echo off
2+
cls
3+
color 0a
54

6-
echo "END"
5+
:menu
6+
cls
7+
echo ====================================
8+
echo Welcome to FixWin
9+
echo ====================================
10+
echo.
11+
12+
echo 1. Display system information
13+
echo 2. Run System File Checker (sfc /scannow)
14+
echo 3. Check Image Health (DISM)
15+
echo 4. Exit
16+
echo.
17+
18+
set /p choice=Enter your choice (1-4):
19+
20+
if "%choice%"=="1" (
21+
echo.
22+
echo System Information:
23+
echo -------------------
24+
systeminfo | find "OS Name"
25+
systeminfo | find "OS Version"
26+
systeminfo | find "System Manufacturer"
27+
systeminfo | find "System Model"
28+
systeminfo | find "Total Physical Memory"
29+
echo.
30+
pause
31+
goto :menu
32+
) else if "%choice%"=="2" (
33+
echo.
34+
echo Running System File Checker (sfc /scannow)...
35+
echo.
36+
sfc /scannow
37+
echo.
38+
pause
39+
goto :menu
40+
) else if "%choice%"=="3" (
41+
echo.
42+
echo Checking Image Health (DISM)...
43+
echo.
44+
DISM /Online /Cleanup-Image /CheckHealth
45+
echo.
46+
DISM /Online /Cleanup-Image /ScanHealth
47+
echo.
48+
DISM /Online /Cleanup-Image /RestoreHealth
49+
echo.
50+
pause
51+
goto :menu
52+
) else if "%choice%"=="4" (
53+
echo.
54+
echo Exiting...
55+
echo.
56+
pause
57+
exit
58+
) else (
59+
echo.
60+
echo Invalid choice! Please enter a number between 1 and 4.
61+
echo.
62+
pause
63+
goto :menu
64+
)

FixWin.bat

+63-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,64 @@
1-
sfc /scannow
2-
DISM /Online /Cleanup-Image /CheckHealth
3-
DISM /Online /Cleanup-Image /ScanHealth
4-
DISM /Online /cleanup-Image /RestoreHealth
1+
@echo off
2+
cls
3+
color 0a
54

6-
echo "END"
5+
:menu
6+
cls
7+
echo ====================================
8+
echo Welcome to FixWin
9+
echo ====================================
10+
echo.
11+
12+
echo 1. Display system information
13+
echo 2. Run System File Checker (sfc /scannow)
14+
echo 3. Check Image Health (DISM)
15+
echo 4. Exit
16+
echo.
17+
18+
set /p choice=Enter your choice (1-4):
19+
20+
if "%choice%"=="1" (
21+
echo.
22+
echo System Information:
23+
echo -------------------
24+
systeminfo | find "OS Name"
25+
systeminfo | find "OS Version"
26+
systeminfo | find "System Manufacturer"
27+
systeminfo | find "System Model"
28+
systeminfo | find "Total Physical Memory"
29+
echo.
30+
pause
31+
goto :menu
32+
) else if "%choice%"=="2" (
33+
echo.
34+
echo Running System File Checker (sfc /scannow)...
35+
echo.
36+
sfc /scannow
37+
echo.
38+
pause
39+
goto :menu
40+
) else if "%choice%"=="3" (
41+
echo.
42+
echo Checking Image Health (DISM)...
43+
echo.
44+
DISM /Online /Cleanup-Image /CheckHealth
45+
echo.
46+
DISM /Online /Cleanup-Image /ScanHealth
47+
echo.
48+
DISM /Online /Cleanup-Image /RestoreHealth
49+
echo.
50+
pause
51+
goto :menu
52+
) else if "%choice%"=="4" (
53+
echo.
54+
echo Exiting...
55+
echo.
56+
pause
57+
exit
58+
) else (
59+
echo.
60+
echo Invalid choice! Please enter a number between 1 and 4.
61+
echo.
62+
pause
63+
goto :menu
64+
)

README.md

+58-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,58 @@
1-
# fixwin
2-
Windows fix commands
1+
# FixWin App
2+
3+
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.
4+
5+
## Features
6+
7+
- Display detailed system information including OS Name, OS Version, System Manufacturer, System Model, and Total Physical Memory.
8+
- Run System File Checker (sfc /scannow) to scan and repair corrupted system files.
9+
- Check Image Health using Deployment Image Servicing and Management (DISM) commands.
10+
- User-friendly menu system for easy navigation and interaction.
11+
12+
## How to Use
13+
14+
1. Clone the repository to your local machine:
15+
16+
```bash
17+
git clone https://github.com/Nozdormv/fixwin.git
18+
```
19+
20+
2. Navigate to the directory where you cloned the repository.
21+
22+
3. Double-click on the `FixWin` file to run the application.
23+
24+
4. Follow the on-screen instructions to choose from the available options.
25+
26+
## Usage
27+
28+
- Option 1: Display System Information
29+
- Displays detailed system information such as OS Name, OS Version, System Manufacturer, System Model, and Total Physical Memory.
30+
31+
- Option 2: Run System File Checker (sfc /scannow)
32+
- Initiates a scan of system files and attempts to repair any corrupted files.
33+
34+
- Option 3: Check Image Health (DISM)
35+
- Utilizes Deployment Image Servicing and Management (DISM) commands to check and repair image health.
36+
37+
- Option 4: Exit
38+
- Exits the Cool.bat App.
39+
40+
## Contributing
41+
42+
Contributions are welcome! If you'd like to contribute to FixWin App, please follow these steps:
43+
44+
1. Fork the repository.
45+
2. Create a new branch (`git checkout -b feature/improvement`).
46+
3. Make your changes.
47+
4. Commit your changes (`git commit -am 'Add new feature'`).
48+
5. Push to the branch (`git push origin feature/improvement`).
49+
6. Create a new Pull Request.
50+
51+
## License
52+
53+
This project is licensed under the [MIT License](LICENSE).
54+
55+
## Credits
56+
57+
- Created by [Nozdormv](https://github.com/Nozdormv/)
58+
- ASCII art generated using [patorjk.com/software/taag](http://patorjk.com/software/taag/)

0 commit comments

Comments
 (0)