LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (June 2009, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 17 Jun 2009 12:11:59 -0400
Reply-To:     Gerhard Hellriegel <gerhard.hellriegel@T-ONLINE.DE>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Gerhard Hellriegel <gerhard.hellriegel@T-ONLINE.DE>
Subject:      Re: Unzipping a folder
Content-Type: text/plain; charset=ISO-8859-1

what you should do is to find out, what options you need for WZZIP to do what you need. Some of that tools bring you a syntax-description if you call them in a cmd - window without parameters or with something like /? or -?. If you can call that program to start a kind of explorer, there might be a help-system.

Now find out, what you need to do and try that command in a CMD-window. If that is successful, you can build an send the same with the SYSTEM function or with CALL SYSTEM. To give you the ready to use program is impossible without knowing the tool. Perhaps if you know the exact command and don't get it to run from SAS, post it here and someone can help you. Or someone uses the same tool...?

Gerhard

On Wed, 17 Jun 2009 08:53:04 -0700, Jeli <jeli0703@HOTMAIL.CO.UK> wrote:

>Hi, > >I was hoping someone can help me, I have the following code which >takes a folder in windows and zips it up, what I am looking for is to >do the reverse in the same way, > >I have tried a number of ways including x ..... but it doesn�t work on >my operating system (windows) however the below does. I�m sure it has >something to do with rearranging and changing the -u bit but I need >help. > >regards > > >data _null_; >rc = system('"'||"C:\Program Files\WinZip\WZZIP.EXE"||'" -u "'||"G: >\data\2009 test.zip"|| >'" "'||"G:\data\2009 test.zip"||'"'); >run;


Back to: Top of message | Previous page | Main SAS-L page