Computing.Net > Forums > Windows XP > Batch Script to extract the child files

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch Script to extract the child files

Reply to Message Icon

Name: sunitha_1984
Date: October 28, 2009 at 07:53:22 Pacific
OS: XP
CPU/Ram: intel
Product: Microsoft Windows xp professional sp2 3pk
Subcategory: General
Tags: bat, batch script, DOS
Comment:

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.

Thanks,
Sunitha



Sponsored Link
Ads by Google

Response Number 1
Name: ace_omega
Date: October 28, 2009 at 08:43:15 Pacific
Reply:

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

http://nsis.sourceforge.net/Winamp_...

Its got built in exstraction tools.

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

http://forums.whirlpool.net.au/foru...

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


0

Response Number 2
Name: Mechanix2Go
Date: October 28, 2009 at 09:23:57 Pacific
Reply:

Not quite clear on where which files are to go but I guess the short answer is to:

pkunzip -d the.zip

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


=====================================
Helping others achieve escape felicity

M2


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: Batch Script to extract the child files

Batch script to rename files www.computing.net/answers/windows-xp/batch-script-to-rename-files/173968.html

Batch script to auto rename subtitles files www.computing.net/answers/windows-xp/batch-script-to-auto-rename-subtitles-files/176811.html

homepage batch script www.computing.net/answers/windows-xp/homepage-batch-script/143253.html