Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!fuug!funic!polaris.utu.fi!polaris!sutela From: sutela@polaris.utu.fi (Kari Sutela) Newsgroups: comp.sys.amiga.tech Subject: Re: Parsing filenames with blanks inside Rexx Message-ID: Date: 7 Jan 91 11:55:22 GMT References: <1400@tardis.Tymnet.COM> Organization: University of Turku, Finland Lines: 19 jms@tardis.Tymnet.COM (Joe Smith) writes: [omitted the program] >I'm having problem handling filenames that contain embedded blanks. >Other than modifying the showdir() function to put some sort of quotes >around these filenames, I don't see how files like this can be processed. Basically, showdir() is useless. I always use: 'list nohead quick | execio stem files' do i = 1 to files.0 /* whatever */ end but this requires WShell. You could redirect the output of the list command to a temporary file. -- Kari Sutela sutela@polaris.utu.fi