@Echo off if %1==0 then goto error if %2==0 then goto error @format %1 %2 >nul Echo Wait... goto exit :error Echo. Echo Please enter Disk and Parameters Echo. Echo Press any key to continue @pause >nul :exit cls