Path: utzoo!attcan!uunet!cbmvax!jesup From: jesup@cbmvax.UUCP (Randell Jesup) Newsgroups: comp.sys.amiga Subject: Re: Enviroment (was Re: Yea, but can an Amiga Shell do this....) Message-ID: <4722@cbmvax.UUCP> Date: 13 Sep 88 18:49:01 GMT References: <8808232121.AA28517@cory.Berkeley.EDU> <10580@stb.UUCP> <4660@cbmvax.UUCP> <870@osupyr.mast.ohio-state.edu> <8X=3WTy00Vs4ECYvw-@andrew.cmu.edu> Reply-To: jesup@cbmvax.UUCP (Randell Jesup) Organization: Commodore Technology, West Chester, PA Lines: 18 In article <8X=3WTy00Vs4ECYvw-@andrew.cmu.edu> bader+@andrew.cmu.edu (Miles Bader) writes: >vkr@osupyr.mast.ohio-state.edu (Vidhyanath K. Rao) writes: >> Then sombody with nothing better to do will come along and do >> 'foo("df0", "fi");' and get "df0/fi" and start yelling. >> The problem is that only the OS knows what are the >> legal device names. > >Huh? "df0/fi" is the correct result... I don't want the OS deciding >something is a device when I specify a directory. MSDOS does this >(try saving "con.bas" from basic), and it's really irritating. Correct. It is prefectly valid to have a directory named df0. Nothing is a device name UNLESS it has a ':' at the end. Being upset about the about is equivalent to being upset that when you say "bin/xyzzy" it looks relative to your current directory, instead of in /bin/xyzzy. -- Randell Jesup, Commodore Engineering {uunet|rutgers|allegra}!cbmvax!jesup