home *** CD-ROM | disk | FTP | other *** search
- 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
- From: relee@acpub.duke.edu (Robert Lee)
- Newsgroups: comp.sys.novell
- Subject: Login Script Variables > DOS Environmental Variables
- Message-ID: <4682@news.duke.edu>
- Date: 19 Aug 92 19:03:50 GMT
- Sender: news@news.duke.edu
- Organization: Duke University; Durham, N.C.
- Lines: 17
- Nntp-Posting-Host: raphael.acpub.duke.edu
-
- I'm interested in finding a way to pass a drive specifier of the type
- used in Netware login scripts to a DOS environmental variable. What I
- would like to do is something like the following:
-
- DOS SET DRIVE1 = "%*1:"
-
- to set the DOS environmental variable to DRIVE1 = F:. Unfortunately the
- Netware *n: drive identifier does not seem to work like the other script
- variables (such as %LOGIN_NAME, etc.). The above command simply returns
- the DRIVE1 = %*1: when displayed in DOS with SET.
-
- Am I missing something from within the script, or am I going to have to
- write a DOS utility program to find out what the first Netware drive
- letter is set to?
-
- Robert Lee
- relee@acpub.duke.edu
-