home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 20780 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  1.2 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!ames!news.larc.nasa.gov!news
  2. From: wjb@cscsun2.larc.nasa.gov (William J. Bene)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Setting Default Directory
  5. Date: 6 Jan 1993 12:39:14 GMT
  6. Organization: NASA Langley Research Center, Hampton, VA  USA
  7. Lines: 26
  8. Message-ID: <1iejtiINN8no@rave.larc.nasa.gov>
  9. Reply-To: wjb@cscsun2.larc.nasa.gov (William J. Bene)
  10. NNTP-Posting-Host: cscpk.larc.nasa.gov
  11.  
  12. Given the following FSSpec record:
  13.  
  14.   vRefNum - volume reference number
  15.   parID   - directory ID of parent directory
  16.   name    - DIRECTORY name
  17.  
  18. How can I set the default directory to FSSpec.name?  In other words, I have a 
  19. routine that allows a user to select folder name instead of a file name and
  20. I want that folder to be the default directory. I am using this routine with 
  21. an existing MacFortran application which expects all files used with Fortran 
  22. reads and writes to be in the default directory.  IM VI states that it can be 
  23. done, but never explains how to do it.  
  24.  
  25. Any ideas would be appreciated!
  26.  
  27.  
  28. Thanks,
  29.  
  30.  
  31. Will
  32. =========================================
  33. William J. Bene
  34. Computer Sciences Corporation
  35. wjb@cscsun2.larc.nasa.gov
  36.  
  37.  
  38.