Formatting DVD-RAM with UDF filesystem on Vista

Discussion in 'Windows Vista Drivers' started by Alexanderfe, Aug 29, 2007.

  1. Alexanderfe

    Alexanderfe Guest

    Hi, I have an app that will run on Vista and needs to format a DVD-RAM using
    the UDF filesystem.
    The application is in Delphi. I'm looking for functions from Win32 (or
    other) API, which can be used by the application directly without user
    interaction.
    Thanks for any help.
     
    Alexanderfe, Aug 29, 2007
    #1
    1. Advertisements

  2. Execute FORMAT as a child process. Or - study the UDF data structures, and
    write them yourself, forming a valid and empty UDF volume.

    Or just use FAT32 :)
     
    Maxim S. Shatskih, Aug 29, 2007
    #2
    1. Advertisements

  3. Alexanderfe

    Alexanderfe Guest

    Thanks for your reply, I'll try the format process.
     
    Alexanderfe, Aug 29, 2007
    #3
  4. Alexanderfe

    Alexanderfe Guest

    Hi, I've tried to create the child process, but it's interactive i.e. asking
    questions.
    Is there a possibility to make a silent format?
     
    Alexanderfe, Aug 29, 2007
    #4
  5. Provide also stdin for it.
     
    Maxim S. Shatskih, Aug 29, 2007
    #5
  6. Hi,

    DVD-RAM disks are usually pre-formatted, and best left as such. Older
    consumer disks were UDF 2.0, newer high-spec DVD-RAM disks are usually
    2.01 or higher. Vista uses 2.01 as default in the UI.

    I think you can use WMI to format NTFS and FAT, but _not_ UDF. I can't
    see anywhere in the DDK or PSDK that allows formatting of Volumes of
    _any_ modern FileSystem (which seems a bit useless?).

    It's also annoying that some command line tools in Vista are not
    designed to work with switches for silent operation, instead the Format
    command requires user interaction, thereby keeping Windows in the "toy"
    category of operating systems, as opposed to Linux where it's all done
    in three seconds with a few simple remoteable commands.

    One option is to use DISKPART (which can be scripted). You have to

    1. Test that you have media in drive
    2. Select Volume that matches DVD drive
    3. Issue the FileSystems command to get a list of valid FileSystems
    4. Issue the Format command with the correct FS from #3

    (skip #3 once you know what you're doing)
     
    Gerry Hickman, Oct 6, 2007
    #6
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.