Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!brutus.cs.uiuc.edu!ginosko!uunet!image.soe.clarkson.edu!news From: gary@sun.mcs.clarkson.edu (Gary Levin) Newsgroups: comp.sys.mac.programmer Subject: Home directory Message-ID: Date: 13 Sep 89 18:56:19 GMT Sender: news@sun.soe.clarkson.edu Distribution: comp Organization: Clarkson University, Potsdam NY Lines: 25 Since my previous question got such a quick and complete response, I thought I'd try a second. When I double click on an application produced with THINK C, fopen's are relative to the directory where the application resides. I was surprised to find that if I double click on a file that has the application type as its signature, it brings up the application, but the ``home directory'' is where the application resides. I am happy to accept this as the default, but: (1) Is there anyway to determine the directory for a file (specifically a file opened by the Preload method). (2) Is there any way to change where fopen opens files? I am nearly finished modifying TinyEdit so that you can have a main program where ``getch'' reads characters from the edit windows, either the last line of a specific window, or the selected region of any window. I will be happy to post my modifications, if this is permitted. -- Gary Levin/Dept of Math & CS/Clarkson Univ/Potsdam, NY 13676/(315) 268-2384 BitNet: gary@clutx Internet: gary@clutx.clarkson.edu