How do I format an EXT4 Drive on Windows CMD? I'm making a small script for my Java program to run. it involves formatting a drive in ext4.
I really appreciate any help you can provide.
You might be able to use WSL2 to access and format a disk as ext4 https://learn.microsoft.com/en-gb/windows/wsl/wsl2-mount-disk
But this places a prerequisite on your program to have WSL2 enabled and setup on any system you expect to run on.
As far as I know there are no built-in native ways to do it without installing third party tools such as Paragon ExtFS https://www.paragon-software.com/business/extfs-for-windows/#