Confirm

Ask user to confirm an action in a BAT file before continuing.

Ask user for Yes/No confirmation. Used in a bat file to set errorlevel to 0 if user answers Y, or 1 if N. echo Do you really want to do this dangerous thing? confirm If ERRORLEVEL 1 GoTo NO GoTo YES The confirm.exe version also looks for SET confirm=y or SET confirm=n. If it sees it, the user does not need to key anything. It acts as if the user had hit the Y or N.

Changes: now checks for overriding SET confirm=n or SET confirm=y

Minimum requirements: runs under DOS or Windows in BAT files

Operating system: MS-DOS,Win2000,Win7 x32,Win7 x64,Win98,WinServer,WinVista,WinVista x64,WinXP

Program URL: http://mindprod.com/products4.html#CONFIRM

Confirm screenshot

...

Special permissions

You may include CONFIRM on any CD compilation.

EULA

This program is for non-military use only. For details on what that licencing restriction means and why I restricted this software that way, see http://mindprod.com/contact/nonmil.html If you incorporate any of my code in your programs, they too must be marked for non-military use only. However it is not your responsibility to enforce that restriction.

Read more