How do i format a EXT4 Drive on windows cmd? i'm making a small script for my java program to run. it involves formatting a drive in et4.
Thanks in adavance.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityYou 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/#