| CODE |
:Start BeginDraw UseCurrent MessageBox "Do you want to format the F Drive?$eol$Press Y to Format $eol$Press any other button to Cancel" EndDraw Input If %_GP_Y% == "1" GOTO AreYouSure Goto Cancel :AreYouSure BeginDraw UseCurrent MessageBox "Are you sure really sure you want to format the F Drive?$eol$Press Y to Format $eol$Press any other button to Cancel" EndDraw Input If %_GP_Y% == "1" GOTO AreYouReallySure Goto Cancel :AreYouReallySure BeginDraw UseCurrent MessageBox "Are you sure really really sure you want to format the F Drive?$eol$Press Y to Format $eol$Press any other button to Cancel" EndDraw Input If %_GP_Y% == "1" GOTO FormatFDrive Goto Cancel :FormatFDrive Allowformat 1 Format F: BeginDraw UseCurrent MessageBox "Format Completed" EndDraw :Cancel BeginDraw UseCurrent MessageBox "Format Cancelled" EndDraw DELAY 5 Quit |