Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!lll-winken!uunet!microsoft!w-colinp From: w-colinp@microsoft.UUCP (Colin Plumb) Newsgroups: comp.sys.amiga.tech Subject: Re: Testing for disk (Lock?) Message-ID: <12348@microsoft.UUCP> Date: 16 Mar 89 03:04:35 GMT References: <0422.AA0422@wfhami> Reply-To: w-colinp@microsoft.uucp (Colin Plumb) Organization: very little Lines: 13 bill@wfhami.UUCP (Bill Hogsett) wrote: > Is there a way to check for the existence of a device or directory and > not have a requestor if the check fails? This is, I belive, in the "common questions" posting. If you set your process's pr_WindowPtr to -1, Dos errors will not put up a requester, but simply return an error code. By default it's 0, meaning workbench screen, but you can also point it to a window, and error requesters will pop up in that window's screen. -- -Colin (uunet!microsoft!w-colinp) "Don't listen to me. I never do." - The Doctor