Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Looks like the integrated format dialog doesn't offer a UDF option; however, Googling tells me that Win7 can both read and write UDF flash drives, so surely it must be able to format them out of the box? Is it just my installation that doesn't support this option?

enter image description here

share|improve this question
2  
You can force Windows to format the flash drive as UDF by running the following command from a command prompt started with admin rights: format <driveLetter>: /fs:UDF /q. Is there a particular reason why you need this? –  and31415 Mar 9 at 17:52
    
I don't have an urgent need for it, I just want a flash drive that supports large files and works on other OSes that might not have NTFS support installed. –  Mihai Mar 9 at 18:41
    
I see. Let me know if my previous comment worked for so that I can expand it, and post it as an actual answer. –  and31415 Mar 9 at 18:52
    
It did, and please do. –  Mihai Mar 9 at 19:36

1 Answer 1

up vote 8 down vote accepted

Formatting through the command line

When formatting via the graphical interface, Windows will try to detect and list only the file systems which are best suited for the selected disk or partition. By using a command prompt you can override the default behavior, and use just any file system.

  1. Close all programs that might be accessing the drive.

  2. Open an elevated command prompt.

  3. Type or paste the following command, replacing <driveLetter> with the actual letter assigned to the drive. Double-check the letter is the right one, then press Enter to execute it.

    format <driveLetter>: /fs:UDF /q
    
  4. Press Enter to confirm the operation, then specify a drive label, or just press Enter again to leave it empty.

Brief explanation

  • The /fs parameter is used to choose the file system, which can be either FAT, FAT32, exFAT, NTFS, or UDF.

  • When formatting as UDF, the revision will be set to 2.01, unless specified otherwise through the /r parameter. Considering the default revision is one of the most compatible across different operating systems, you can just leave it that way. Available versions are: 1.02, 1.50, 2.00, 2.01, and 2.50.

  • The /q parameter is required to perform a quick format:

    Deletes the file table and the root directory of a previously formatted volume, but does not perform a sector-by-sector scan for bad areas. You should use the /q command-line option to format only previously formatted volumes that you know are in good condition.

    Source: Format

Further reading

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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