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
Encoding:
Text File  |  1998-01-10  |  2.8 KB  |  2 lines

  1. <HTML><HEAD><TITLE>The Command Line parameters
  2. </TITLE></HEAD><BODY topmargin="0" leftmargin="0"><TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
  3. <TR>
  4. <TD bgcolor="#39C2C6"><FONT size="6"> 
  5. </FONT></TD>
  6. </TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
  7. <TR>
  8. <TD rowspan="2" width="48" bgcolor="#39C2C6"> 
  9. </TD>
  10. <TD rowspan="2" width="106"><IMG src="htmlcomp.gif" hspace="5" vspace="5" width="96" height="96">
  11. </TD>
  12. <TD bgcolor="#39C2C6"> 
  13. <FONT color="#FFFFFF"><A href="../Help.htm">Contents
  14. </A></FONT></TD>
  15. </TR>
  16. <TR>
  17. <TD><FONT color="#38A4C7" size="6" face="Arial"><STRONG>The Command Line parameters
  18. </STRONG></FONT></TD>
  19. </TR></TABLE><TABLE border="0" width="100%" cellspacing="0" cellpadding="0">
  20. <TR>
  21. <TD width="101" bgcolor="#39C2C6"></TD>
  22. <TD><BLOCKQUOTE>
  23. <P>You can also use the HTML (Un)Compress tool with the
  24. Command Line. This is very useful for peoples who want
  25. to process large numbers of files. This is how you
  26. do it:
  27. </P>
  28. </BLOCKQUOTE>
  29. <STRONG><BLOCKQUOTE>
  30. <P>HTMLComp
  31. </STRONG>[/y] [/s] [/c] [/u] file1.htm[file2.htm]
  32. </P>
  33. </BLOCKQUOTE>
  34. <TABLE border="1" cellpadding="3" cellspacing="1" width="585"><TBODY>
  35. <TR>
  36. <TD valign="center"><P align="right"><STRONG>/y
  37. </STRONG></TD>
  38. <TD valign="center">There are no questions asked, everything is automatically
  39. answered yes and the program will be automatically
  40. shut down after the process.
  41. </TD>
  42. </TR>
  43. <TR>
  44. <TD valign="center"><STRONG><P align="right">/s
  45. </STRONG></TD>
  46. <TD valign="center">Use this option to scan the subdirectories for files
  47. to compress according the wildcards of
  48. <EM>file1.htm
  49. </EM></TD>
  50. </TR>
  51. <TR>
  52. <TD valign="center"><STRONG><P align="right">/c
  53. </STRONG></TD>
  54. <TD valign="center">Use this option to compress.
  55. </TD>
  56. </TR>
  57. <TR>
  58. <TD valign="center"><STRONG><P align="right">/u
  59. </STRONG></TD>
  60. <TD valign="center">Use this option to uncompress.
  61. </TD>
  62. </TR>
  63. <TR>
  64. <TD valign="center"><STRONG><P align="right">file1.htm
  65. </STRONG></TD>
  66. <TD valign="center">Needed. This file will be used as input. May contain
  67. wildcards but then the file2.htm tag will be ignored.
  68. </TD>
  69. </TR>
  70. <TR>
  71. <TD valign="center"><STRONG><P align="right">file2.htm
  72. </STRONG></TD>
  73. <TD valign="center">Needed. This file will be used as output.
  74. </TD>
  75. </TR></TBODY>
  76. </TABLE>
  77. <STRONG><BLOCKQUOTE>
  78. <P>Example
  79. </P>
  80. </BLOCKQUOTE>
  81. <DIR>
  82. </STRONG><PRE>HTMLComp /c index.htm</PRE>
  83. <BLOCKQUOTE>
  84. <P>The index.htm will be compressed and overwritten after
  85. you push on yes twice.
  86. </P>
  87. </BLOCKQUOTE>
  88. <PRE>HTMLComp /u /y index.htm index2.htm</PRE>
  89. <BLOCKQUOTE>
  90. <P>The index.htm file will be uncompressed in theindex2.htm
  91. file, no questions will be asked.
  92. </P>
  93. </BLOCKQUOTE>
  94. <PRE>HTMLComp /y /c *.htm</PRE>
  95. <BLOCKQUOTE>
  96. <P>All HTML files in this directory will be compressed
  97. without asking any questions.
  98. </P>
  99. </BLOCKQUOTE>
  100. </DIR>
  101. </TD>
  102. </TR></TABLE><BLOCKQUOTE>
  103. <P> 
  104. </P></BLOCKQUOTE></BODY></HTML>
  105.  
  106.