<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN" >
<HTML >
<HEAD >
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252" >
<TITLE >Command File</TITLE >
</HEAD >
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" >
<H1 >Command File</H1 >
<P>You can define a batch command (*.bat oder *.cmd) in the options dialog .</P>
<P>It will become executed if you click <img src="flash.jpg" width="48" height="48" > and can be amended with the following parameters:</P>
<UL >
<LI >%1 is the path of the current file<BR ><BR ></LI >
<LI >%2 is the name of the current file<BR ><BR ></LI >
<LI >%3 to %5 are the full names of the libraries 1 to 3 specified in options.</LI >
</UL >
<P>The parameter are enclosed in quotes ("..." ), which can be used with (z.B. %1) in the batch file or removed by using (eg %~1).</P>
<P>A sample batch commadn is attached in the program directory.</P>
<P>After execution the protocol will be displayed in blue color in a seperate window.</P>
<P>The JAVA compiler can be invoked by</P>
<P><strong >cd %1</strong ></P>
<P><strong >javac %2</strong ></P>
<P>in a batch file.</P>
<P>A free COBOL compiler for students can be found under <a href="http://www.adtools.com/student/ " >http://www.adtools.com/student/</a> .</P>
<P>The program is invoked by </P>
<P>> cobol32.exe sample.cob</P>
<P>on a command line.</P>
<P>A sample file compilebatch.bat is attached and looks like</P>
<P><strong >>c:\fsc\pcobol32\cobol32.exe %~1%~2</strong ></P>
<P><strong >> pause</strong ></P>
<P>Good Luck!</P>
</BODY >
</HTML >
quality 100%
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet)
¤
*© Formatika GbR, Deutschland