Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!uunet!mcsun!hp4nl!ktibv!rvdv From: rvdv@ktibv.uucp (Richard van der Veen) Newsgroups: comp.databases Subject: CLIPPER 5.0 function NEEDED Keywords: clipper Message-ID: <1991May13.122331.6373@ktibv.uucp> Date: 13 May 91 12:23:31 GMT Distribution: comp Organization: KTI_BV Lines: 36 Hi there, I'm looking for a function in CLIPPER 5.0 that checks whether a directory exists or not (It doesn't matter if there are files in it or not). I've tried the following lines: . . . ACCEPT "Directory name : " TO mDirectory ? FILE(TRIM(mDirectory)+"\NUL") . . But this always prints .T. (If I remember correctly, this DID work in the Summer '87 version) Can somebody give me a hint on how to solve this, even a RTFM hint. Thanks, Richard =============================================================================== ______ _ __ / Richard v.d. Veen / | __ \ _ | | / / / Voice: +31-(0)79-531624 / | |__| | _ _ | || | / / ____/ E-mail: .....hp4nl!ktibv!rvdv ____/ | _ _/| | / /__| || | / / / / | | \ \ | |/ /| __ || |_/ / / Me, I'm just a lawnmower, / |_| \_\|___/ |____||____/ / You can tell me by the way I walk. / -------------------------------------------------------------------- KTI BV, P.O. Box 86, 2700 AB Zoetermeer, The Netherlands / ------------------------------------------------------------------