|
-
Jan 2nd, 2002, 11:37 AM
#1
Thread Starter
Lively Member
unzipping using shell
Anyone have a good example of how to unzip a file using shell command? I have tried going the dll route and have been unable to add to my project.
I have been working on this in spare time for a couple of weeks and am still unable to unzip. Any help greatly appreciated.
-
Jan 2nd, 2002, 11:39 AM
#2
Retired VBF Adm1nistrator
Do you have the winzip command line addon ?
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Jan 2nd, 2002, 12:23 PM
#3
Thread Starter
Lively Member
cmd line addon
no. i am a beginner and am not too familiar with shelling.
-
Jan 2nd, 2002, 12:25 PM
#4
Retired VBF Adm1nistrator
ahh.
well there ya go then 
Go here ;
http://www.winzip.com/wzcline.cgi
Grab the addon. Read the command line interface help file for unzipping that comes with it. Then use the Shell statement to run wzunzip.exe
If you've any more queries on this, its going home time here for me, so I can answer them tomorrow morning, or perhaps someone else can in the meantime
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Jan 2nd, 2002, 01:12 PM
#5
Thread Starter
Lively Member
thanks for response
Went to WinZip site as instructed. Only problem for us is that we are using unpaid evaluation copy of WinZip. I read the license agreement and our use of the addon would be limited to 21 days. Boss is tight and don't think we'll be springing for WinZip. Any other suggestions?
-
Jan 3rd, 2002, 03:30 AM
#6
Retired VBF Adm1nistrator
WinZip is really cheap.
But what I would suggest you do is get a registration crack for winzip. They're readily available on the net if you search
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Jan 7th, 2002, 11:26 AM
#7
WZUNZIP command line options
Thanks again for the reply,
I have been able to add WZUNZIP and am using it from the command line. I have read the help file, but do not find an option to open the file in the format it was sent.
Here is what I am trying to do:
I am getting a zip file sent daily to me containing a number of adobe acrobat files. The files are named using a format of reportname_mmddyy. I save these zip files to a specified directory. I want to set up a form in which I select the reportname and then the date, afterwhich the code will go out to were I archive these files, find the specified report of the specified date and open it in adobe acrobat.
Sounds like it should be pretty easy. Is all that I need is the correct option? Any help greatly appreciated.
-
Jan 7th, 2002, 11:57 AM
#8
Retired VBF Adm1nistrator
There's an option with wzunzip to get a list of files in the zip file.
So you would get a list, record it, then display it.
Ya know ?
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Jan 16th, 2002, 10:58 AM
#9
WZUnzip option
I believe the option is -@listfile. I can't seem to get it to work from the command line. I'll keep trying.
-
Jan 16th, 2002, 12:30 PM
#10
Thread Starter
Lively Member
Thanks-it works
got it to work from the command line. Now I just need to learn how to shell.
Thanks for showing me the way.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|