From: DAUTREVAUX AT microprocess DOT com (Bernard Dautrevaux) Subject: RE: uudecode? 19 Jan 1999 18:18:17 -0800 Message-ID: <8135911A809AD211AF6300A02480D1750348C6.cygnus.gnu-win32@IIS000.microdata.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit To: "'John Cooper'" , mh AT mike DOT franken DOT de Cc: gnu-win32 AT cygnus DOT com > -----Message d'origine----- > De: John Cooper [SMTP:John DOT Cooper AT citrix DOT com] > Date: lundi 18 janvier 1999 11:33 > À: mh AT mike DOT franken DOT de > Cc: gnu-win32 AT cygnus DOT com > Objet: Re: uudecode? > > mh AT mike DOT franken DOT de (Michael Hirmke) writes: > > > >Can anyone point me to a reliable version of the command line > > >uudecode.exe/uuencode.exe utilities for NT 4.0? > > > > Don't know, what you mean by reliable, but you can get the > sharutils-4.2c > > package, which contains uuencode/uudecode among other utilities > > These just don't work at all: > > $ cp c:/WINNT/NOTEPAD.EXE n.exe > $ ./n.exe # works fine! > $ uuencode n.exe n.exe > n.uu > $ rm n.exe > $ ls n.* > n.uu > $ uudecode n.uu > $ ls n.* > n.exe* n.uu > $ ./n.exe > zsh: exec format error: .\n.exe > $ > $ ls -l n.exe > -rwxrwxrwx 1 JCooper Domain_Users 594 Jan 18 10:37 > n.exe* > $ > > Any ideas what's wrong with it? > I'm not sure, but I'll bet that you have to sligthly change the uudecode source code to ensure that the open of the output file is done in binary mode : open(... O_BINARY) or fopen(..., "wb")). Your problem is most surely this infamous text!=binary feature :-( of Losedows... Regards, Bernard > ------------------------------------------------------------------------ ------ Bernard Dautrevaux Microprocess Ingéniérie 97 bis, rue de Colombes 92400 COURBEVOIE FRANCE Tel: +33 (0) 1 47 68 80 80 Fax: +33 (0) 1 47 88 97 85 e-mail: dautrevaux AT microprocess DOT com b DOT dautrevaux AT usa DOT net ------------------------------------------------------------------------ ------ > - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".