Microsoft KB Archive/139024

= OFF: Extract Command Copies Cabinet File Structure =

Article ID: 139024

Article Last Modified on 1/19/2007

-

APPLIES TO


 * Microsoft Office 97 Standard Edition
 * Microsoft Office 95 Standard Edition
 * Microsoft Access 97 Standard Edition
 * Microsoft Access 95 Standard Edition
 * Microsoft Excel 97 Standard Edition
 * Microsoft Excel 95 Standard Edition
 * Microsoft PowerPoint 97 Standard Edition
 * Microsoft PowerPoint 95 Standard Edition
 * Microsoft Word 97 Standard Edition
 * Microsoft Word 95 Standard Edition

-



This article was previously published under Q139024



SUMMARY
When you extract a file from a cabinet file on a source disk, the cabinet's directory structure may be appended to the destination path where the file is copied. This may place the file in an unexpected location on your hard disk.



WORKAROUND
To copy a file from a source disk without appending the cabinet's file directory structure do the following:

 From the MS-DOS command prompt, switch to the root directory by typing the following and pressing ENTER:

CD C:

 Insert Disk 1 for the product, and type the following and press ENTER:

Copy a:\extract.exe

 Insert the disk that has the file you want to extract and use the following syntax at the command prompt and press ENTER:

Extract A:\ /c C:\ \



The following is an example of the syntax used in the steps listed above:

Extract A:\msoff2.cab /c C:\windows\system\mso95.dll



MORE INFORMATION
If you extract the file Mso95.dll to C:\Windows\System using the either of the following commands command

Extract A:\msoff2.cab /L C:\Windows\System Mso95.dll

-or-

Extract a:\msoff2.cab Mso95.dll

The file will be copied to C:\Windows\System\OS\System. This behavior occurs because in this example, most DLL files are stored in the cabinet file under the directory structure of OS\System. Files may be appended from append from 0 to 3 directories deep depending on cabinet file structure.

For additional information, please see the following article(s) in the Microsoft Knowledge Base:

120006 How to Copy Files from Cabinets on DMF-Formatted Disks.

135657 Microsoft Office 7.0 Disks 1-8 .CAB Contents (DMF)

135658 Microsoft Office 7.0 Disks 9-16 .CAB Contents (DMF)

135659 Microsoft Office 7.0 Disks 17-24 .CAB Contents (DMF)

Additional query words: 8.00 97

Keywords: KB139024

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.