Date: Wed, 17 Jun 2009 09:08:22 -0700
Reply-To: "Nordlund, Dan (DSHS/RDA)" <NordlDJ@DSHS.WA.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Nordlund, Dan (DSHS/RDA)" <NordlDJ@DSHS.WA.GOV>
Subject: Re: Unzipping a folder
In-Reply-To: <a3204b3e-fab3-42d3-8c10-4de0a5c811b1@s12g2000yqi.googlegroups.com>
Content-Type: text/plain; charset=windows-1252
> -----Original Message-----
> From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Jeli
> Sent: Wednesday, June 17, 2009 8:53 AM
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: Unzipping a folder
>
> 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;
I am sorry, but I can't quite understand from your post what does or does not work on your system. Let me ask, if you open a command prompt window, what would you type to unzip your archive file?
Dan
Daniel J. Nordlund
Washington State Department of Social and Health Services
Planning, Performance, and Accountability
Research and Data Analysis Division
Olympia, WA 98504-5204
|