Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!bionet!agate!helios.ee.lbl.gov!ux1.lbl.gov!beard From: beard@ux1.lbl.gov (Patrick C Beard) Newsgroups: comp.sys.mac.programmer Subject: Re: help creating file in system folder? Message-ID: <4848@helios.ee.lbl.gov> Date: 14 Feb 90 10:31:33 GMT References: Sender: usenet@helios.ee.lbl.gov Reply-To: beard@ux1.lbl.gov (Patrick C Beard) Distribution: comp Organization: Lawrence Berkeley Laboratory, Berkeley Lines: 18 X-Local-Date: 14 Feb 90 02:31:33 PST If you want a working directory for the blessed folder, use SysEnvirons. It's so much easier. SysEnvRec theWorld; short sysFolderWD; SysEnvirons(2, &theWorld); sysFolderWD = theWorld.sysVRefNum; Use whatever calls you want to create and open your file in the system folder. ------------------------------------------------------------------------------- - Patrick Beard, Macintosh Programmer (beard@lbl.gov) - - Berkeley Systems, Inc. "..............Good day!" - Paul Harvey - -------------------------------------------------------------------------------