Microsoft KB Archive/70958

{|
 * width="100%"|

Creating a Batch File to Decompress Word Files

 * }

Q70958

-

The information in this article applies to:


 * Microsoft Word for MS-DOS, versions 5.5, 6.0

-

SUMMARY
You can use an MS-DOS batch file that employs the For command to facilitate the decompression of a large number of Microsoft Word for DOS version 5.5 or 6.0 compressed files.

MORE INFORMATION
The syntax of the MS-DOS For batch command, when used in a batch file, is as follows:

"for %%variable in (set) do command" For example, to run SETUP.EXE in the current directory and have it decompress all compressed files, create a batch file that contains the following command:

"for %%i in (c:\*.??$) do setup /d %%i" When you run this batch file, SETUP.EXE is run with the /d switch on all files in the current directory that contain a file extension with a dollar sign ($) in the third position. For SETUP.EXE to decompress the files, the SETUP.EXE and WORD55.INF files must be located in the current directory. (SETUP.EXE, SETUP1.EXE, and WORD60.INF if you are using Word 6.0.)

Reference(s):

&quot;Microsoft Word Getting Started,&quot; version 5.5, page 67

&quot;Microsoft Quick Reference Guide to MS-DOS Commands,&quot; Van Wolverton, Microsoft Press, 1990

Additional query words: 5.50 manual setup

Keywords : kbusage

Issue type :

Technology :