ExeScript  

ExeScript 3.0

ExeScript Batch to EXE - Batch File Commands, Cmd Commands, Command Prompt


Create secured stand-alone applications from BAT, VBS, JS, WSF, WSH or HTA scripts.
ExeScript is a useful and efficient program with which you convert different scripts to executable files (.exe). It supports such script types as Batch (BAT), VBScript (VBS), JavaScript (JS), WSF, Windows Script Host (WSH), and HTML Application (HTA) files. You can protect the contents of .bat, .vbs, and .js files from modification by other users with ExeScript.


Download   Purchase Now

FOR

Runs a specified command for each file in a set of files.

FOR %variable IN (set) DO command [command-parameters]

  %variable  Specifies a replaceable parameter.
  (set)      Specifies a set of one or more files. 
             Wildcards may be used.
  command    Specifies the command to carry out for each
             file.
  command-parameters
             Specifies parameters or switches for the
             specified command.

To use the FOR command in a batch program, specify
%%variable instead of %variable.  Variable names are case
sensitive, so %i is different from %I.

Examples

To display the contents of all the files in the current
directory that have the extension .doc or .txt using the
replaceable variable %f, type:

for %f in (*.doc *.txt) do type %f

This code will run through the set (A, B, C), when it gets
to B it will print the message: "B is in the set!"

FOR %%b in (A, B, C) DO IF %%b == B echo B is in the set!

This line will print the contents of C:\windows\desktop

FOR %%c in (C:\windows\desktop\*.*) DO echo %%c


    

Batch File Commands

Current version

v.3.0

Get support

How To