home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / mac / programm / 20202 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.2 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!gatech!concert!duke!news.duke.edu!phy.duke.edu!mur
  2. From: mur@phy.duke.edu (Daniel Murphy)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Changing directories, volumes
  5. Keywords: directories, volumes, hfs
  6. Message-ID: <8214@news.duke.edu>
  7. Date: 22 Dec 92 20:27:17 GMT
  8. Sender: news@news.duke.edu
  9. Lines: 17
  10. Nntp-Posting-Host: physics.phy.duke.edu
  11.  
  12.  
  13. I wrote an MPW shell tool which reads from a file and writes to new file.
  14. I want to be able to set the output directory to be different from the input
  15. directory using a flag followed by either a partial or full pathname for the 
  16. destination directory.  This works only intermittently using HGetVol and 
  17. HSetVol, and when it doesn't work it causes a system crash.  The system doesn't
  18. crash if I use GetVol and SetVol, but it always places the output file in the
  19. root directory of the path I give it.  I tried following the example in the 
  20. Tech Notes directory q and as for full path names, but that gives me a system
  21. crash as well.  (This uses PBGetCatInfo).  Any suggestions as to what I am 
  22. doing wrong?
  23.                     Dan Murphy
  24.                     mur@phy.duke.edu
  25. -- 
  26.     Daniel Murphy                1-919-660-2522
  27.     Duke University Dept. of Physics    mur@phy.duke.edu
  28.     Durham, N.C.      27706            
  29.