Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!uwvax!uwmacc!uwmcsd1!bbn!oberon!cit-vax!elroy!mahendo!jplgodo!wlbr!scgvaxd!trwrb!cadovax!keithd From: keithd@cadovax.UUCP (Keith Doyle) Newsgroups: comp.sys.amiga Subject: Assign Message-ID: <1799@cadovax.UUCP> Date: Wed, 14-Oct-87 14:30:41 EDT Article-I.D.: cadovax.1799 Posted: Wed Oct 14 14:30:41 1987 Date-Received: Sat, 17-Oct-87 02:13:15 EDT References: <15590@amdahl.amdahl.com> <2460@cbmvax.UUCP> Reply-To: keithd@cadovax.UUCP (Keith Doyle) Organization: Contel Business Systems, Torrance, CA Lines: 19 Hi gang, Does anyone out there have any idea how to find out (from 'C') if something in particular is in the 'Assign' table? I want to find out if a file exists using an Assign foo: wherever, and by referencing the file as foo:filename. If either the file does not exist, or the foo: has never been assigned, is what I want to find out from my program. Unfortunately, if foo: has not been assigned, what I get is a requester that says 'insert foo: in any drive' which is not what I want. If it is not in the Assign table, I want to assume that it does not exist. Any ideas? I'd prefer not to do an Execute("Assign >ram:tmp",0,0); followed by an investigation of ram:tmp. Yuk! Keith Doyle # {ucbvax,decvax}!trwrb!cadovax!keithd Contel Business Systems 213-323-8170