home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / msdos / misc / 6553 < prev    next >
Encoding:
Text File  |  1992-12-15  |  2.1 KB  |  52 lines

  1. Newsgroups: comp.os.msdos.misc
  2. Path: sparky!uunet!mcsun!sun4nl!star.cs.vu.nl!dnicola
  3. From: dnicola@cs.vu.nl (Nicolaas D)
  4. Subject: Re: Assign Help.
  5. Message-ID: <BzAytp.Axz@cs.vu.nl>
  6. Sender: news@cs.vu.nl
  7. Organization: Fac. Wiskunde & Informatica, VU, Amsterdam
  8. References: <1992Dec14.023258.22874@nstn.ns.ca>
  9. Date: Tue, 15 Dec 1992 13:29:49 GMT
  10. Lines: 40
  11.  
  12. GEN3037@Husky1.StMarys.Ca (DARREN JOHNSON) writes:
  13.  
  14. >Can someone tell me how to assign one pathname to serve for another path.
  15.  
  16. >[...]
  17. >I can only write to the directory c:\users\username and any subdirectories
  18. >after that, and this program wants to write to c:\program, which the network
  19. >won't let happen. So what I want is a way for when the program wants
  20. >to write to the root directory will actually write to users\username
  21. >(.ie make c:\program into c:\users\username.
  22.  
  23. There are three MS-DOS programs which let you cheat with drive letters and
  24. path names: assign, subst and join.
  25. assign is used to assign another drive letter to a drive, e.g. assign a=c
  26. means that from now on every request for drive a: is redirected to c:.
  27. subst d: c:\tmp assigns drive letter d: to the path c:\tmp. every read or
  28. write to d:\ actually occurs on c:\tmp.
  29. join a: c:\tmp means that from now on every read/write on c:\tmp occurs on a:.
  30. This is called mounting in UNIX. c:\tmp needs to be empty before you 
  31. execute the join.
  32. The problem is that join only works on directories in the root directory, so
  33. you can't join anything on c:\users\username. Another problem is that some 
  34. of these utilities don't work on networks drives. See the DOS-manuals for
  35. details. 
  36.  
  37. So I don't think it will work with standard software. Anyway, these utilities
  38. are tricky since sometimes the directories in which they are cease to exist
  39. when you use them, so you can't undo things. I wouldn't experiment with them 
  40. in a network.
  41.  
  42. Maybe your network utilities can mount or link directories?
  43.  
  44. >Thanks for any help. 
  45.  
  46.  
  47. -- 
  48.   ---.    /)        |                       
  49.    /  \  /    _  _  |   _   _  _                 Dion Nicolaas
  50.   /   )\ | (_(_ (_) \_ ()\ ()\ \                dnicola@cs.vu.nl
  51. _/___/  \|  -------------------'
  52.