Hi Jean-René,
>I need to format a disk in the drive a:\. I do not want to use the DOS format from VFP with the run command.
The following API call would display the Windows standard format dialog:
Set Library To FoxTools Additive
Declare Integer SHFormatDrive in Shell32.DLL ;
Integer HWND, Integer Drive, Integer FmtID, Integer Options
SHFormatDrive( _WhToHwnd(_WMainWind()), 0, 0xFFFF,0)
Christof
--
Christof