Jump to content

Compressing Drivers dll to dl_ How?


CrashUK

Recommended Posts

Hello

I need some hello.. how can I compress a load of dll and sys and so on..

I what to pack my drivers???

going to have drivers in the $OEM$/$1/drivers/

my unstanding is windows system can read compressed files.. if they named .dl_

Link to comment
Share on other sites


there's a tool on your xp install called makecab.exe you can use that if you want to create cabs in that fashion

just go to a command line and try makecab and you'll see it

WhtKnight

I know how to do that but this they any way to do like 300 files.?? I what to compress drivers..

Link to comment
Share on other sites

@ECHO OFF
SETLOCAL ENABLEEXTENSIONS
SET SOURCE= <write the name of the source folder here>
SET TARGET= <write the name of the target folder here>
IF EXIST %SOURCE%\*.* FOR /F %%J IN ('DIR /A-D /OGN /B %SOURCE%\*.*') DO MAKECAB /D CompressionMemory=21 /D CompressionType=LZX /L %TARGET% %SOURCE%\%%J

Take care that all files *.* in the source folder (including the .inf and .cat files) are compressed to target folder.

To use the content of target folder for unattended install, .inf and .cat files MUST be uncompressed.

use expand to uncompress a file

EXPAND Source Destination

and delete compressed version driver.in_ and driver.ca_

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...