0

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.

0

2 Answers 2

2

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/#

3
1

There's no native way to do this (format EXT4 from Windows), AFAIK.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.