ExeScript  

ExeScript 3.0

Convert Batch to EXE - BAT to EXE Converter, Bat2Exe


Create secured stand-alone applications from BAT, VBS, JS, WSF, WSH or HTA scripts.
ExeScript is a program that quickly converts batch files (.bat), VBScript, JScript, WSF, WSH and HTA scripts to executable files (.exe). It also protects contents of .bat, .vbs, .js, .wsf, .wsh and .hta files from being changed by other users accidentally or intentionally.


Download  Purchase Now

EXIT

Exits the current batch script.

Syntax
      EXIT [/B] [exitCode]

Key
    /B        When used in a batch script, this option will
              exit only the script (or subroutine) but not
              CMD.EXE

   exitCode   Sets the %ERRORLEVEL% to a numeric number.
              If quitting CMD.EXE, set the process exit code
              no.

              Remarks

If you use /B outside of a batch script, it will exit Cmd.exe.

Examples

:: Exit if a required file is missing 
@echo off
If not exist MyFile.doc Exit /b
Echo The file was found

Cmd Commands

Current version

v.3.0

Get support