2

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.

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .