[Oberon] ZipTool1.Arc (Aug 5) can't handle DOS files ?

muller at inf.ethz.ch muller at inf.ethz.ch
Tue Aug 6 20:34:47 CEST 2002


cglur at onwe.co.za wrote:
> ZipTool.ExtractAll ^  == ZipTool.ExtractAll Temp.zip
>  DUG_IDE.C bad file name
> 0 files extracted, 1 errors     <--- FAIL !!  

To extract files with names not compatible with a Native Oberon
file system, use a command like the following:

ZipTool.Extract ZipFile { ForeignFileName => OberonFileName } ~
... where { } indicates repetition.

Another option is to extract the files to a FAT file system:

ZipTool.ExtractAll \p FAT: ZipFile ~
... where FAT: is the prefix of a FAT file system.

Homework for someone: execute Watson.ShowDef ZipTool and 
document the missing options and commands in Zip.Tool.

-- Pieter

--
Pieter Muller, Computer Systems Institute, ETH Zurich / MCT Lab, Zurich
Native Oberon OS: http://www.oberon.ethz.ch/native/



More information about the Oberon mailing list