Batch Script to extract the child files

Microsoft Windows xp professional sp2 3p...
October 28, 2009 at 07:53:22
Specs: XP, intel
Hi All,

I have to extract a . Zip file from a share drive(\\ABC) which has the below structure throuh a batch script.

.Zip file => inside this .Zip file I will have a folder by name ABC => inside this ABC folder I will have some .txt or .* files

I have to extract all these .txt or .* files to other share drive (\\XYZ).

when I am trying to unzip from the .Zip file to my target directory I am getting the ABC folder and inside the ABC folder i will have the .txt or .* files but i don't want the ABC folder to be extracted is there any way where I can extract the files inside the ABC folder directly and place in my target share drive throuh batch script.


See More: Batch Script to extract the child files

Report •

October 28, 2009 at 08:43:15
What is it that you are trying to do? Are you trying to make an install program? Then yes you could do it with Batch Scripting but this would be very painful. I recommend using an Open Source installer like NSIS from Win Amp...

Its got built in exstraction tools.

If your intentions are other then here is some batch file scripts...

You will need to download PKZIP to do this from some where like Source Forge or my favorite is Softpedia

Report •

October 28, 2009 at 09:23:57
Not quite clear on where which files are to go but I guess the short answer is to:

pkunzip -d

then use a script to move them where you want them.

Helping others achieve escape felicity


Report •

Related Solutions

Ask Question