Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
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/