home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 12917 < prev    next >
Encoding:
Text File  |  1992-07-22  |  1.1 KB  |  40 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!mcsun!ub4b!info-sparc1.info.ucl.ac.be!NewsWatcher
  3. From: Meessen@slig.ucl.ac.be  (Christophe Meessen)
  4. Subject: Re: PROGRAMMING PROB: How do you find the system folder?
  5. Message-ID: <Meessen-230792131720@130.104.58.9>
  6. Followup-To: comp.sys.mac.programmer
  7. Sender: news@info.ucl.ac.be (News Administrator)
  8. Nntp-Posting-Host: 130.104.58.9
  9. Organization: Universite Catholique de Louvain (Belgium)
  10. References: <1992Jul22.183946.20587@CS.ORST.EDU>
  11. Date: Thu, 23 Jul 1992 11:23:04 GMT
  12. Lines: 26
  13.  
  14. In article <1992Jul22.183946.20587@CS.ORST.EDU>, gonzalm@prism.cs.orst.edu
  15. (Mario Gonzales) wrote:
  16. > Hi all,
  17. > I have looked in vain to find the function that will return the loaction of
  18. > the system folder.  I can find the boot disk but the system folder is
  19. > not allways called the "system folder" on the startup disk.
  20.  
  21. Use the function:  
  22.  
  23. theSysFolderRefNum = GetEnvirons( smSysRef );
  24.  
  25. It will return the system folder reference number. see Inside Mac, vol. V,
  26. page 313.
  27.  
  28. >
  29. ...
  30. > Mario Gonzales
  31.  
  32. Bien cordialement,
  33.  
  34.                            Christophe MEESSEN
  35.