From owner-freebsd-questions@FreeBSD.ORG Mon Jan 7 23:40:33 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCDE616A5E8 for ; Mon, 7 Jan 2008 23:40:33 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from smtp1.bethere.co.uk (smtp1.betherenow.co.uk [87.194.0.68]) by mx1.freebsd.org (Postfix) with ESMTP id 7595413C478 for ; Mon, 7 Jan 2008 23:40:33 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from [192.168.1.71] (87-194-3-32.bethere.co.uk [87.194.3.32]) by smtp1.bethere.co.uk (Postfix) with SMTP id E51F598031 for ; Mon, 7 Jan 2008 23:40:31 +0000 (GMT) Message-ID: <4782B86F.7020201@onetel.com> Date: Mon, 07 Jan 2008 23:40:31 +0000 From: Chris Whitehouse User-Agent: Thunderbird 2.0.0.9 (X11/20071228) MIME-Version: 1.0 CC: freebsd-questions@freebsd.org References: <47800E4B.8000302@onetel.com> <4780EDE2.30801@gmail.com> <47816583.5060303@onetel.com> <47816DE8.2040608@adventuras.no> In-Reply-To: <47816DE8.2040608@adventuras.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: unpack win32 exe file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jan 2008 23:40:33 -0000 Lars Kristiansen wrote: > Chris Whitehouse skrev: >> Rob wrote: >>> Chris Whitehouse wrote: >>>> I have a Windows executable file (.exe) which in a Windows >>>> environment would be run to extract some files which it contains. Is >>>> there any way I can extract the files on my FreeBSD system? I've >>>> tried unzip, gunzip and archivers/upx with various extensions, zip, >>>> exe, gz etc but they all >>> >>> There are many types of self-extracting archive files under windows. >>> If it's one that's based on PKZip, then there's a good chance you >>> could get it with 7-Zip: http://www.7-zip.org/ Otherwise, you need >>> a windoze system or emulator I suspect. >>> >>> -Rob >>> >>> >> Someone else suggested 7-zip as well but still no joy. I don't think >> it's worth installing Wine just for this so it's time to find a >> windows box > > Was the result with 7zip negative? > http://www.freshports.org/archivers/p7zip/ Unfortunately yes: %p7zip -d iata78_enu.exe /usr/local/bin/p7zip: iata78_enu.exe: unknown suffix %mv iata78_enu.exe iata78_enu.7z %p7zip -d iata78_enu.7z 7-Zip (A) 4.57 Copyright (c) 1999-2007 Igor Pavlov 2007-12-06 p7zip Version 4.57 (locale=en_GB.ISO8859-15,Utf16=on,HugeFiles=on,2 CPUs) Processing archive: iata78_enu.7z Error: Can not open file as archive % Chris