home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 July & August / Pcwk78a98.iso / Internet / Htmlcmp / command_line_parameters.ht_ / command_line_parameters.ht
Text File  |  1998-01-10  |  3KB  |  2 lines

  1. <HTML><HEAD><TITLE>The Command Line parameters</TITLE></HEAD><BODY topmargin="0" leftmargin="0"><TABLE border="0" cellpadding="0" cellspacing="0" width="100%"><TR><TD bgcolor="#39C2C6"><FONT size="6"> </FONT></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="100%"><TR><TD rowspan="2" width="48" bgcolor="#39C2C6"> </TD><TD rowspan="2" width="106"><IMG src="htmlcomp.gif" hspace="5" vspace="5" width="96" height="96"></TD><TD bgcolor="#39C2C6"> <FONT color="#FFFFFF"><A href="../Help.htm">Contents</A></FONT></TD></TR><TR><TD><FONT color="#38A4C7" size="6" face="Arial"><STRONG>The Command Line parameters</STRONG></FONT></TD></TR></TABLE><TABLE border="0" width="100%" cellspacing="0" cellpadding="0"><TR><TD width="101" bgcolor="#39C2C6"></TD><TD><BLOCKQUOTE><P>You can also use the HTML (Un)Compress tool with theCommand Line. This is very useful for peoples who wantto process large numbers of files. This is how youdo it:</P></BLOCKQUOTE><STRONG><BLOCKQUOTE><P>HTMLComp</STRONG>[/y] [/s] [/c] [/u] file1.htm[file2.htm]</P></BLOCKQUOTE><TABLE border="1" cellpadding="3" cellspacing="1" width="585"><TBODY><TR><TD valign="center"><P align="right"><STRONG>/y</STRONG></TD><TD valign="center">There are no questions asked, everything is automaticallyanswered yes and the program will be automaticallyshut down after the process.</TD></TR><TR><TD valign="center"><STRONG><P align="right">/s</STRONG></TD><TD valign="center">Use this option to scan the subdirectories for filesto compress according the wildcards of<EM>file1.htm</EM></TD></TR><TR><TD valign="center"><STRONG><P align="right">/c</STRONG></TD><TD valign="center">Use this option to compress.</TD></TR><TR><TD valign="center"><STRONG><P align="right">/u</STRONG></TD><TD valign="center">Use this option to uncompress.</TD></TR><TR><TD valign="center"><STRONG><P align="right">file1.htm</STRONG></TD><TD valign="center">Needed. This file will be used as input. May containwildcards but then the file2.htm tag will be ignored.</TD></TR><TR><TD valign="center"><STRONG><P align="right">file2.htm</STRONG></TD><TD valign="center">Needed. This file will be used as output.</TD></TR></TBODY></TABLE><STRONG><BLOCKQUOTE><P>Example</P></BLOCKQUOTE><DIR></STRONG><PRE>HTMLComp /c index.htm</PRE><BLOCKQUOTE><P>The index.htm will be compressed and overwritten afteryou push on yes twice.</P></BLOCKQUOTE><PRE>HTMLComp /u /y index.htm index2.htm</PRE><BLOCKQUOTE><P>The index.htm file will be uncompressed in theindex2.htmfile, no questions will be asked.</P></BLOCKQUOTE><PRE>HTMLComp /y /c *.htm</PRE><BLOCKQUOTE><P>All HTML files in this directory will be compressedwithout asking any questions.</P></BLOCKQUOTE></DIR></TD></TR></TABLE><BLOCKQUOTE><P> </P></BLOCKQUOTE></BODY></HTML>
  2.