Jump to content

script expansion of qpatch files


Recommended Posts

I can get this script to try and expand the files the same folder, but it errors out reporting the folder (file) exists

CD /D D:\scvpack.XP\07202004
D:\scvpack.XP\07202004>FOR %X IN (kb*.exe) DO "%~nX.exe /x:%X"

results in:

D:\scvpack.XP\07202004>"KB842773.exe /x:KB842773.exe"
The directory name is invalid.

how can I get the ' /x:KB842773.exe' output to be '/x:KB842773', creating the desired folder structure?

me = :)

BTW this is placed here in unattended Win due to the embedding of these expanded files into the unattend CD.

TIA -

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...