Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Formatting Diskettes

Helo everybody an thank you for viewing this message!

I need to format a diskette in my app, but i'm not sure about the best way to do it!
Should i call some Windows API Funtion, or is it better to do it myself!
Does Anyone knows how to format a diskette, any source code?
Please let me know!

Thank you for reading this message!
Goodbye!

Comments

  • zibadianzibadian Member Posts: 6,349
    : Helo everybody an thank you for viewing this message!
    :
    : I need to format a diskette in my app, but i'm not sure about the best way to do it!
    : Should i call some Windows API Funtion, or is it better to do it myself!
    : Does Anyone knows how to format a diskette, any source code?
    : Please let me know!
    :
    : Thank you for reading this message!
    : Goodbye!
    :
    :
    [code]
    procedure Form1.Button1Click(Sender: TObject);
    begin
    ShellExecute(Handle, nil, 'format', 'a:', nil, SW_SHOWNA);
    end;
    [/code]
    This code uses the ShellApi and Windows units.
Sign In or Register to comment.