MSFN Forum: script expansion of qpatch files - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

script expansion of qpatch files Rate Topic: -----

#1 User is offline   MastaVR6 

  • Newbie
  • Group: Members
  • Posts: 38
  • Joined: 15-April 04

  Posted 05 August 2004 - 03:06 PM

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 -


#2 User is offline   MastaVR6 

  • Newbie
  • Group: Members
  • Posts: 38
  • Joined: 15-April 04

  Posted 05 August 2004 - 04:24 PM

Figured it out. I guess thats why I get the the little $$$.

CD /D <folderpath>
FOR %X IN (kb*) DO %X /x:.\%~nX
FOR %X IN (q*) DO %X /x:.\%~nX


\
bl0 me. :)

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy