
Product:
Statit
Custom QC
Scheduling
This example MS-DOS batch file shows you how
you may customize the Statit environment to
achieve unique instances of Statit, such as
customized menus.
Download statsamp.bat.
Here are the contents of this batch file. The
comments will guide you in your modification
of this file.
@echo
off
rem (The above command prevents display of any
commands
rem below to the DOS window.)
rem
rem Example DOS Batch file for Statit
rem
rem If you create a shortcut to this BAT file,
set it's
rem properties to "run minimized" so
the DOS window does
rem not clutter your screen.
rem
rem -------------------------------------------------
rem You may uncomment the following line to specify
a folder
rem in which you may have an initialization file,
statit.ini.
rem
rem set STUPATH=C:\mydir\mystatit
rem
rem -------------------------------------------------
rem If you are using a custom menu, statit.stm,
uncomment
rem the next command line and specify a folder
in which
rem you are going to put your customized menu
file.
rem
rem set STMENUDIR=C:\mydir\mystatit
rem
rem -------------------------------------------------
rem If you want to change the folder from which
rem Statit runs, you may do that by uncommenting
the next
rem command line and giving the folder name you
want.
rem You may install a local statit.ini in this
folder,
rem or in the %STUPATH% folder.
rem
rem cd c:\mydir\mystatit
rem
rem -------------------------------------------------
rem You must add the path to the Statit executables
and
rem DLL's. This is the Statit bin folder under
the
rem Statit Installation Directory.
rem The quotation marks (") are required
when Statit is
rem installed under a folder with a blank in the
name.
rem
rem set PATH="c:\program files\statit 5.2\bin";%PATH%
rem
rem -------------------------------------------------
rem Run Statit. You may optionally put a macro
command
rem file name as a parameter, and Statit will
process this
rem file as part of it's startup. One of the option
rem switches may be used to control this execution:
rem
rem no switch: Statit windows open, macro processed
rem /s: Macro processed, Statit windows open
rem /h: Macro processed, Statit exits
rem
rem Uncomment and modify the one line you want
to use.
rem
rem winstatit
rem winstatit macro
rem winstatit /s macro
rem winstatit /h macro
rem
exit
If you would like additional information, please
call our Support staff at (541) 752-4100 or
send email to
.
|