Windows users could use code like this: put "D:/myFiles/mybzip2file.bz2" into tOpenfile put "C:/Developer/bzip2.exe -dkc " & tOpenfile into tBzip set the hideconsolewindows to true get shell(tBzip)
Now the contents of bzip2 file is in the variable named it Then, you could save this content in another file or display inside a field (if bz2 file content is text): put it into fld "displaybz2file" or put char 1 to -4 of tOpenfile & "gz" into tnewfile put compress(it) into URL ("binfile:" & tnewfile) Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-do-I-decompress-BZ2-files-tp2227291p2227352.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution