Batch File Compiler Professional Edition v4.0 DEMO
User Agreement
Brandon Dargo cannot be held responsible for any damages to you("The Software
User")
or to your equipment or any other damages by using this program("Batch File Compiler
Professional Edition").
You may distribute the DEMO installer anywhere you wish. The registered full version may
NOT be distributed
ANYWHERE. The full registered version is for the licensee's personal use. The compiled
batch files
created with the demo MAY NOT be distributed. The compiled batch files created with the
registered full version
package may be distributed to anyone, anywhere free of royalty charges.
You may never distribute a modified version of this software package under any
circumstances.
If you distribute a modified version of this software package you will be violating U.S.
copyright laws, will be prosecuted, and may face additional civil penalties. If you do not
agree to or understand this User Agreement, then you may not use this software package and
must uninstall and delete immediately.
Batch File Compiler Copyright © 2000-2006 Brandon Dargo
Batch File Compiler Professional Edition Copyright © 2003-2006 Brandon Dargo
Why Register?
When you register, you'll receive:
- Lifetime upgrades to the most recent version of Batch File Compiler Professional Edition
- Will remove "Please register" screen that shows before each compiled batch
file executes
- Unlocks all of the powerful extra commands
- Allows you to select your own application icon
- You may distribute the compiled batch files to anyone, anywhere royalty free
- You will receive the full version immediately after payment via email download link
- If you need to reinstall or upgrade, it is easy as entering your registered email
address on our website
- Free Priority email support
Tips for using Batch File Compiler Professional Edition
- While editing your batch files you will notice the code changing colors when using the
extra (extended) commands:
GREEN for REM *Comments
ORANGE for GOTO and :Labels
BLUE for commands spelt properly and with
the correct amount of options (or arguments) used
PURPLE for commands spelt properly, but
without the correct number of options
RED for misspelled extended commands
GRAY for extended commands not included in
the demo
- Please note BFC PE adds color keys based on the number or arguments entered after an
extra command. BFC PE does NOT check for the correct data type.
- Open and look through the example batch files included in the BFC PE install folder.
- When using an extended command, put a REM statement in front of the function like the
example below:
REM PrintColor This text will be printed in red with a
white background 4 15
NOTE - If you don't use a REM statement, the extended command will not work
properly and if you save to a batch file, the batch file will cause errors.
- To add a comment in the batch file, (notice the * before the comments) the text
will turn green
REM *Comment goes here
- Be sure not to use any commands that may require user input while the compiled batch
file is hiding
- Use PrintColor in Windows98 and Millenium Edition as ChangeColor and ClearColor only work for
WinNT/2000/XP.
- PrintColor does not print a "return" after it prints
to the screen. This is so you can print more than one color on a line without having to
use Locate. Simply use PrintReturn to
start at the next line.
- Use ChangeColor when using PaintScreen
to change the text background color same background color
- Batch file windows are 80 spaces in width and 25 spaces in height.
- To close the window when a batch file finishes executing, simply put a CLS (clear
screen) statement at the end of the batch file.
- If the windows closes before you can see any text on the screen, put a PAUSE (press any
key to continue) statement at the end of the batch file.
Extended Commands Index and Uses
BFC PE can compile every batch file that the standard edition can, plus you can use the
following extra functions:
Functions listed in RED can only be used in the
registered version.
Please pass integer values for FGcolor and BGcolor (foreground and
background colors.)
HideSelf
ShowSelf
LessThan (Num1 Num2)
Locate (Y X)
PaintScreen (BGcolor)
ChangeColor (FGcolor BGcolor)
ClearColor
PrintColor (Text FGcolor BGcolor)
PrintCenter (Text Y FGcolor BGcolor)
PrintReturn
Add (Num1 Num2)
Subtract (Num1
Num2)
Multiply (Num1 Num2)
Divide (Num1 Num2)
LimitDecimal (DecimalNumber
DecimalLimit)
MakeInteger (DecimalNumber)
GetInput
GetLength
(Text)
GenRandom (MaxInteger)
MakeUpper
(Text)
MakeLower (Text)
Wait (Milliseconds)
NOTE - The Extra Functions do NOT work for DOS compiled executables.
Extended Functions Usage
Put a REM statement in front of the function:
REM PrintColor This text will be printed in red with a white background 4
15
TIPS - Do NOT use parenthesis ( ) in the statement. They are used here for clarity.
Extended Functions are
space-sensitive. Only put one space between REM and the function you would like
to use.
- HideSelf
Allows the compiled batch file window to go invisible and run in the
background
Can be used to go invisible while copying files then reappear when complete
for example
Be sure not to use any commands that may require user input while the
compiled batch file is hiding
- ShowSelf
Allows the compiled batch file window to reappear after going
invisible
- LessThan (Num1 Num2)
Works like Num1 <= Num2 (Less than or equal to) returns 1
if true and a 0 if false in the variable %result%
- Locate (Y X)
Moves the cursor Y number of spaces up and down and X number of
spaces left and right from the top left corner.
- PaintScreen (BGcolor)
Paints the screen the selected integer background color.
- ChangeColor (FGcolor BGcolor)
Changes the color text will be printed on the screen.
Use integer values 0-15 for the colors. 0 = black, 1 =
blue, etc...
- ClearColor
Changes the color text will be printed on the screen back to
normal ( 7 0 ).
- PrintColor (Text FGcolor BGcolor)
Prints one line of text on the screen with the specified
colors then changes the colors back to normal.
Does not print a "return" after it prints the text.
(additional text will be printed right after)
- PrintCenter (Text Y FGcolor BGcolor)
Prints one centered line of text on the screen with the
specified colors at the row Y (1 - 25).
- PrintReturn
Moves down one line from the current cursor position.
- Add (Num1 Num2)
Adds two numbers and returns the result in the variable %result%
- Subtract (Num1 Num2)
Subtracts Num2 from Num1 and returns the result in the
variable %result%
- Multiply (Num1 Num2)
Multiplies two numbers and returns the result in the variable
%result%
- Divide (Num1 Num2)
Divides Num1 by Num2 and returns the result in the variable %result%
- LimitDecimal (DecimalNumber X)
Limits the DecimalNumber to X number decimal places and
returns the result to the variable %result%
- MakeInteger (DecimalNumber)
Makes the DecimalNumber an integer and returns the result in
the variable %result%
- GetInput
Lets the user type input and returns the result in the
variable %result%
- GetLength (Text)
Returns the length of text in the integer variable %result%
- GenRandom (MaxInteger)
Generates a random integer no larger than MaxInteger and
returns the number in the variable %result%
- MakeUpper (Text)
Makes the text all uppercase and returns the text in the
variable %result%
- MakeLower (Text)
Makes the text all lowercase and returns the text in the
variable %result%
- Wait (Milliseconds)
Waits the amount of milliseconds specified before
continuing.
Contacting Customer Support
brandon@bdargo.com
http://www.bdargo.com