Wyświetlenie okienka formatowania dyskietki
Aby po kliknięciu przycisku Button1 wyświetlić okienko formatowania dyskietki:
#include <shellapi.h> void __fastcall TForm1::Button1Click(TObject *Sender) { ShellExecute(Handle, "open", "c:\\windows\\rundll32.exe", "shell32.dll,SHFormatDrive", "c:\\windows", SW_SHOWNORMAL); }