You will have to call unzip outside of J but you can do it by using task utilities You can also do it by writing out a bat file and supplying the name of the file to be unzipped and call the unzip facility from the bat file.
Create the bat file by hand first and get it to work. Then you create a verb that creates the bat file and there you supply the name of the file to be unzipped. You can create a script line by line as you go along and manually do what you wnat to do. 2011/11/4 Skip Cave <s...@caveconsulting.com> > David Mitchell's example finds all of the LOG.gz files in all the > directories: > > loglst =: 0{"1 dirtree 'c:\test1\LOG.gz' > > $ loglst > 944 > > 1 {. loglst > ┌───────────────────────────────────────────────────────────────────────┐ > │c:\test1\00-00-36-vx1prn123-7b42060a_00000d48_4eab4224_0060_0000\log.gz│ > └───────────────────────────────────────────────────────────────────────┘ > > So now I need to expand each of these log files, extract the string I need > from each one, and put those strings in a boxed list. > > As Björn suggests, we should start with a much smaller list for testing: > > sloglst =: 3 {. loglst > > So now I have a boxed list of three files with their paths, for a small > test. > > Now I need a way to expand these ASCII files for examination. So far, I > haven't found a J utility that will expand the log.gz files, but I am still > looking. > > Skip > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Björn Helgason, Verkfræðingur Fornustekkum II 781 Hornafirði, t-póst: gos...@gmail.com gsm: +3546985532 twitter: @flugfiskur http://groups.google.com/group/J-Programming Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans góður kennari getur stigið á tær án þess að glansinn fari af skónum /|_ .-----------------------------------. ,' .\ / | Með léttri lund verður | ,--' _,' | Dagurinn í dag | / / | Enn betri en gærdagurinn | ( -. | `-----------------------------------' | ) | (\_ _/) (`-. '--.) (='.'=) ♖♘♗♕♔♙ `. )----' (")_(") ☃☠ ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm