?
Solved

Parameter to unzip files without their self-created folders

Posted on 2008-10-21
2
Medium Priority
?
639 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
[X]
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
2 Comments
 
LVL 20

Accepted Solution

by:
edster9999 earned 500 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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This is a fine trick which I've found useful many times, when you just don't want to accidentally run a batch script or the commands needs administrator rights.
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month14 days, 10 hours left to enroll

771 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