Path: utzoo!attcan!uunet!ogicse!ucsd!ucselx!petunia!news From: rcfische@polyslo.CalPoly.EDU (Ray Fischer) Newsgroups: aus.mac,comp.sys.mac.programmer Subject: Re: Setting a Default Directory Message-ID: <26fc2c47.a6b@petunia.CalPoly.EDU> Date: 23 Sep 90 03:30:15 GMT References: <11240@wehi.dn.mu.oz> Organization: Cal Poly State Univ,CSC Dept,San Luis Obispo,CA 93407 Lines: 21 JON@wehi.dn.mu.oz (Jon Eaves) writes ... >G'day People, > Well, Wit's End is looming fast on the horizon. I have been trying >a (seemingly) simple task and have been failing dismally. I want to set >the default volume and directory using a 'STR ' resource containing the >full pathname. > What's the answer? I'm reasonably sure it's pretty trivial, but I >have been unable to track down what I am doing wrong. Trivial? No, not particularly. Without going into TOO much detail, I believe you want to create a new working directory ID and then do a SetVol to that ID. Look at the section titled Working Directory Routines starting in IM IV-158. Also, pages IV-98 and IV-100 have interesting and pertinent information. If you need more info, send me email. Ray Fischer rcfische@polyslo.calpoly.edu