Jump to content

Yatch

Member
  • Posts

    1
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Dominican Republic

Everything posted by Yatch

  1. Sintaxis for print time add "in %%d" If you run msgbox from other program, use only one percent sign %d (like printf()) "<Message>" "<Title>" "<Flag #1-5>" "<seconds>" for non timeout use in seconds "0" Flags: You may combine following box styles: 0 = OK 1 = OK + Cancel 2 = Abort + Retry + Igonore 3 = Yes + No + Cancel 4 = Yes + No 5 = Retry + Cancel 6 = Cancel + Retry + Continue Icon: 16 Error 32 Question 48 Exclamation 64 Information Here are the errorlevels returned: 0 Timed out 1 OK 2 Cancel 3 Abort 4 Retry 5 Ignore 6 Yes 7 No 11 Continue You can also use %ERRORLEVEL% as environment variable, i.e. if "%ERRORLEVEL%"=="5" goto :ignore if "%ERRORLEVEL%"=="4" goto :retry if "%ERRORLEVEL%"=="3" goto :abort
×
×
  • Create New...