Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcvax!kth!draken!tut!hh From: hh@tut.fi (Halme Heikki) Newsgroups: comp.windows.news Subject: How to find out if a file exists Message-ID: Date: 3 Jun 89 10:26:44 GMT References: <7506@hoptoad.uucp> <8087@batcomputer.tn.cornell.edu> Sender: News@tut.fi Organization: Tampere Univ. of Technology Lines: 19 In-reply-to: prove@batcomputer.tn.cornell.edu's message of 2 Jun 89 19:00:10 GMT In article <8087@batcomputer.tn.cornell.edu> prove@batcomputer.tn.cornell.edu (Roger Ove) writes: It should be possible ... ... to check on the file's existence, and on failure download the rest of the ps. I tried to implement this and failed, seemingly due to a NeWS bug. Putting the file load in a {...open file ...} stopped clause ought to do the trick, but it bombs out anyway when it can't find the file. I guess I'm not the only one that has run into this problem, since the routine /fileexists in the default init.ps is commented out. Has anyone found a way to make this work? The routine /fileexists in init.ps does work, just try it! So, what else is there that is commented out and works just fine? Heikki Halme Tampere Univ. of Technology, Finland hh@tut.fi