Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!wuarchive!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!news.funet.fi!funic!polaris.utu.fi!polaris!sutela From: sutela@polaris.utu.fi (Kari Sutela) Newsgroups: comp.sys.amiga.tech Subject: Filename characters (was Re: Parsing filenames with blanks inside Rexx Message-ID: Date: 8 Jan 91 11:49:33 GMT References: <1400@tardis.Tymnet.COM> <1406@tardis.Tymnet.COM> Organization: University of Turku, Finland Lines: 22 BTW, thanks for the program. Always nice to see some example rexx-source. jms@tardis.Tymnet.COM (Joe Smith) writes: >The only character guaranteed not to be part of any filename is '00'x. Is this true? For a project of mine I have recently made some tests and I think there are other characters which aren't allowed in filenames (the DOS manual by Bantam is a bit vague about this). My tests were quite simple; basically I just `echo'ed some strings and tried to redirect the output to a file. Some tests which `failed' were: echo >"An*e[33mEscapeInAFilename" AString echo >"ANewline*nInAFilename" AString Both gave the error "Unable to open redirection file". I use WShell, so it might be refusing these filenames. What does the DOS say about the characters in a filename (or is it the filesystem)? -- Kari Sutela sutela@polaris.utu.fi