home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / mswindo / programm / misc / 1592 < prev    next >
Encoding:
Internet Message Format  |  1992-08-31  |  1.2 KB

  1. Path: sparky!uunet!gatech!asuvax!ncar!noao!amethyst!organpipe.uug.arizona.edu!thames.ccit.arizona.edu!dobbins
  2. From: dobbins@lan.ccit.arizona.edu (Gary Dobbins)
  3. Newsgroups: comp.os.ms-windows.programmer.misc,comp.windows.ms.programmer
  4. Subject: Current Directory in Windows?
  5. Message-ID: <dobbins.259.715273629@lan.ccit.arizona.edu>
  6. Date: 31 Aug 92 15:07:09 GMT
  7. Sender: news@organpipe.uug.arizona.edu
  8. Distribution: usa,world
  9. Organization: University of Arizona
  10. Lines: 16
  11.  
  12. Where is documented the concept of the "current directory" for Windows tasks?
  13.  
  14. Program Manager has the field in the Item Properties dialog for setting the 
  15. current directory for each Windows or non-windows task you define, and the 
  16. system seems to make that directory current when you switch to that task.
  17.  
  18. But, is there such an API call as GetCurrentDirectory()?  I could find 
  19. nothing to that effect, and using the C-library chdir() call seemed to have 
  20. no effect.
  21.  
  22. How do you set the working directory for a task, using the API?
  23.  
  24.  
  25.         Gary L. Dobbins  *  University of Arizona  *  (602)621-6715
  26.              dobbins@arizona.edu  *  dobbins@arizvms (bitnet)
  27.      "Some days, you just can't get rid of a bomb..." - Batman, 1966
  28.