You are not logged in. You can browse but not post. Login or Register by clicking 'Login or Register' at the top-right of this page. For more information on Statalist, see the FAQ.
Thank you a lot,Jesse! I use this command : !"C:\Program Files\WinRAR\WinRAR.exe" financial_data.rar
to unzip the file financial_data.rar,then I should click the botton “extract” in the WinRAR,so that I can
unzip the file financial_data.rar
How to extract rar files with stata?For example,I can use unzipfile to extract the zip file.What about rar fiels? Best wishes!
you need to use the shell command to use winrar software to unzip file. The unzipfile command is used to unzip the file saved in .zip format i.e. when you compress a file using the windows default compression software. however when you are using winrar, it will save file in .rar extention. For that use following command, just change the path and file name shell set path=”C:\Program Files\WinRAR”; %path% & unrar e “file2.rar” details are on the following link: https://thedatahall.com/how-to-unzip-files-in-stata/
Comment