Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Parameter to unzip files without their self-created folders

Posted on 2008-10-21
2
618 Views
Last Modified: 2013-12-01
I am running wzunzip to unzip some batch files to a specified folder.  The command line I have done runs successfully except that the file has a self-contained folder.  Meaning if the file name is DBSallc.bak it resides in a folder DBSallc

I need to extract the zip contents without establishing the self-created individual folder for each file.  Cannot find this parameter/switch anywhere...

0
Comment
Question by:PROJHOPE
2 Comments
 
LVL 20

Accepted Solution

by:
edster9999 earned 125 total points
ID: 22770881
wzunzip -d creates the directories as it goes.
If you skip the -d then it drops the files in the current directory
so check you have not added '-d'
0
 

Author Comment

by:PROJHOPE
ID: 22770947
edster you led me to the solution.....my output path was indicating to create a new folder which I didn't want thanks..
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You may have already been in the need to update a whole folder stucture using a script. Robocopy does it well and even provides a list of non-updated files in a log (if asked to). Generally those files that were locked by a user or a process by the …
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question