New topic: 

Unar en Lsar

<http://forums.realsoftware.com/viewtopic.php?t=47987>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        Bodevinaat          Post subject: Unar en LsarPosted: Mon May 
27, 2013 9:32 am                         
Joined: Tue Aug 28, 2012 3:52 am
Posts: 25                Unar and Lsar are command line utilities used to 
unarchive compressed files. I downloaded them at 
http://code.google.com/p/theunarchiver/ ... p&can=2&q=

I use this shell script:
  dim archive as Shell
dim f as FolderItem
dim theArchive as String
theArchive = "afile.rar"
archive = new shell
archive.mode=0
dim cmd as string

cmd="unar -q"+ chr(32) + theArchive
archive.execute cmd
msgbox(archive.Result)


Bash gives me a 'bash: unar: command not found' response. Though I 
triplechecked that the unary executable is in the same folder. 
When I run a terminal I get the same response, though clicking on the unar file 
itself gives me the 'help' response.

Do I have to add something to the script? I'm not very familiar with Unix....   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to