OFF: Extract Command Copies Cabinet File StructureID: Q139024
|
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.
To copy a file from a source disk without appending the cabinet's file
directory structure do the following:
CD C:
Copy a:\extract.exe
Extract A:\<cabinet filename> /c C:\<path name>\<filename>
Extract A:\msoff2.cab /c C:\windows\system\mso95.dll
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.dllThe 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.
-or-
Extract a:\msoff2.cab Mso95.dll
Q120006 How to Copy Files from Cabinets on DMF-Formatted Disks.
Q135657 Microsoft Office 7.0 Disks 1-8 .CAB Contents (DMF)
Q135658 Microsoft Office 7.0 Disks 9-16 .CAB Contents (DMF)
Q135659 Microsoft Office 7.0 Disks 17-24 .CAB Contents (DMF)
Additional query words: 8.00 97
Keywords : offwin offwinsetup
Version : WINDOWS:7.0 97
Platform : WINDOWS
Issue type :
Last Reviewed: June 8, 1999