0

I want to extract contents of a *.cab archive using CMD. Here's my code:

EXPAND C:\Source\data1.cab -F:* D:\Destination

As a result I get a copy of data1.cab in D:\Destination. What's wrong?

SagRU
  • 448
  • 4
  • 17
  • What is the output of `EXPAND -D C:\Source\data1.cab`? Have you tried `EXPALL.BAT`? https://jeffpar.github.io/kbarchive/kb/074/Q74217/ – lit Apr 22 '20 at 14:53
  • @lit the output is `c:\source\data1.cab: data1.cab`. Custom batch file is not an option because I need to execute this command from installer. – SagRU Apr 22 '20 at 17:17
  • It appears that the `data1.cab` contains `data1.cab`. What is the output of `EXPAND -D D:\Destination\data1.cab`? – lit Apr 22 '20 at 21:00
  • Well, Universal Extractor unpacks initial data1.cab archive as a bunch of files, not as another data1.cab. It seems that EXPAND just doesn't work. – SagRU Apr 23 '20 at 04:50

0 Answers0