home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!ames!news.larc.nasa.gov!news
- From: wjb@cscsun2.larc.nasa.gov (William J. Bene)
- Newsgroups: comp.sys.mac.programmer
- Subject: Setting Default Directory
- Date: 6 Jan 1993 12:39:14 GMT
- Organization: NASA Langley Research Center, Hampton, VA USA
- Lines: 26
- Message-ID: <1iejtiINN8no@rave.larc.nasa.gov>
- Reply-To: wjb@cscsun2.larc.nasa.gov (William J. Bene)
- NNTP-Posting-Host: cscpk.larc.nasa.gov
-
- Given the following FSSpec record:
-
- vRefNum - volume reference number
- parID - directory ID of parent directory
- name - DIRECTORY name
-
- How can I set the default directory to FSSpec.name? In other words, I have a
- routine that allows a user to select folder name instead of a file name and
- I want that folder to be the default directory. I am using this routine with
- an existing MacFortran application which expects all files used with Fortran
- reads and writes to be in the default directory. IM VI states that it can be
- done, but never explains how to do it.
-
- Any ideas would be appreciated!
-
-
- Thanks,
-
-
- Will
- =========================================
- William J. Bene
- Computer Sciences Corporation
- wjb@cscsun2.larc.nasa.gov
-
-
-