home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / novell / 6632 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  1.1 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!sdd.hp.com!uakari.primate.wisc.edu!ames!stanford.edu!rock!concert!duke!news.duke.edu!acpub.duke.edu!relee
  2. From: relee@acpub.duke.edu (Robert Lee)
  3. Newsgroups: comp.sys.novell
  4. Subject: Login Script Variables > DOS Environmental Variables
  5. Message-ID: <4682@news.duke.edu>
  6. Date: 19 Aug 92 19:03:50 GMT
  7. Sender: news@news.duke.edu
  8. Organization: Duke University; Durham, N.C.
  9. Lines: 17
  10. Nntp-Posting-Host: raphael.acpub.duke.edu
  11.  
  12. I'm interested in finding a way to pass a drive specifier of the type
  13. used in Netware login scripts to a DOS environmental variable. What I
  14. would like to do is something like the following:
  15.  
  16. DOS SET DRIVE1 = "%*1:"
  17.  
  18. to set the DOS environmental variable to DRIVE1 = F:. Unfortunately the
  19. Netware *n: drive identifier does not seem to work like the other script
  20. variables (such as %LOGIN_NAME, etc.). The above command simply returns
  21. the DRIVE1 = %*1: when displayed in DOS with SET.
  22.  
  23. Am I missing something from within the script, or am I going to have to
  24. write a DOS utility program to find out what the first Netware drive
  25. letter is set to?
  26.  
  27. Robert Lee
  28. relee@acpub.duke.edu
  29.