DOWNLOAD BELOW!
Building a GUI for Microsoft Diskpart and some Windows onboard features around disk space management.
A learning project.
It was just one of these days, were you help a friends friend for 10h, halfway across the globe, fixing their virus infected Laptop,
when I was so annoyed with Windows on-board disk management tools, that I decided to try something.
The initial idea was to build a tool, which can format any flash drive, no matter what filesystem is on it.
In this case, it was a Linux boot stick. Windows can delete it, using Diskpart.
But explaining the commands via Discord was not that easy and Diskpart syntax is also... lacking.
So I tried coding a small prototype and tested it on an old PlayStation 4 HDD, which had 15 propietary ext4 partitions on it.
I was able to delete them with one click, which gave me the idea of making a whole software out of it!
Also, while developing games sure is a dream, one reason why I picked programming was,
because I always wanted to be able to develop apps as well!
This project taught me a lot! I worked on it a few hours a week during school.
Initialy a summer break project, I am still working on it, when I have free time.
A lot of the code from earlier stages of developement will probably be replaced at some point.
A developement diary is online on my LinkedIn:
- First Steps - #01
- First Issues - #02
- Some UI - #03
- Actually useful - #04
- More Issues - #05
- Overscoped - #06
- Coming soon...
Windows Presentation Foundation (.NET 6.0), WQL (Windows Query Language), C#, PowerShell, Batch, XAML
Features are basically split in 5 Parts:
- Diskpart commands
- MS CMD commands
- Powershell commands
- GUIFD commands
- Easy access to some hidden information of your drives
(e.g. Windows Storage Management infos)
A more detailed walkthrough of the features can be found in the WIKI!
Here are some scripts, I'd like to show:
- Diskpart commands service class.
- Service class to execute commands.
- GUID types service class. prevents "magic strings" anywhere in code.
There are a lot of classes like these. - Service class for retrieving drive data.
Main logo artwork by Lars Rocksch: