MastaVR6 Posted August 5, 2004 Posted August 5, 2004 I can get this script to try and expand the files the same folder, but it errors out reporting the folder (file) existsCD /D D:\scvpack.XP\07202004D:\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 -
MastaVR6 Posted August 5, 2004 Author Posted August 5, 2004 Figured it out. I guess thats why I get the the little $$$.CD /D <folderpath>FOR %X IN (kb*) DO %X /x:.\%~nXFOR %X IN (q*) DO %X /x:.\%~nX\bl0 me.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now