Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: unrar - unzipfile


From   Aaron Kirkman <ak1795mailserv@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: unrar - unzipfile
Date   Wed, 10 Oct 2012 11:25:44 -0500

Hi Pablo,

I don't know of a Stata command to unrar files, but if you're on
Windows using WinRAR, you could use

!unrar e filename.rar

to --unrar-- the file from the command line. This assumes that you
have added WinRAR to the Windows path. Assuming WinRAR is installed in
"C:\Program Files\WinRAR\", you can add it to the path with the
following command, run in the Windows shell itself (e.g. invoked with
the --shell-- command in Stata).

set path="C:\Program Files\WinRAR\";%path%

Then the previous --unrar-- command I gave you should work.

Aaron



On Wed, Oct 10, 2012 at 11:00 AM, Pablo Bonilla
<pablo.bonilla1234@gmail.com> wrote:
> Dear all,
>
> I would like to know if there is a command that “unrar” my rar files.
> The -unzipfile- command does not work with .rar files. If that command
> does not exist, do any of you know how to use the -shell- command in
> order to use “winRAR” with the purpose of unrar my files?
>
> Thank you
>
>
> --
> ----
>
> Pablo Bonilla
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index