home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!destroyer!cs.ubc.ca!bcsystems!ewilts
- From: ewilts@galaxy.gov.bc.ca (Ed Wilts)
- Newsgroups: vmsnet.internals
- Subject: Re: Finding a users disk name
- Message-ID: <1992Oct7.122253.1068@galaxy.gov.bc.ca>
- Date: 7 Oct 92 12:22:53 -0700
- References: <1992Oct7.031040.5662@gw.wmich.edu> <7OCT199210243904@carat.arizona.edu>
- Reply-To: EWILTS@GALAXY.GOV.BC.CA
- Distribution: world,local
- Organization: BC Systems Corporation
- Lines: 17
-
- In article <7OCT199210243904@carat.arizona.edu>, jms@carat.arizona.edu (A virtually vegetal non-entity) writes:
- > In article <1992Oct7.031040.5662@gw.wmich.edu>, 737ochs@gw.wmich.edu writes...
- >>We don't know how to get the person's disk area name
- >>from their username. We'd like to be able to do cd ~user and have the
- >>program give us back disk$xxx:[user].
- >
- > Do a $TRNLOG on SYS$LOGIN. If you just want the device, look at
- > SYS$LOGIN_DEVICE.
-
- In Unix, cd ~user sets your default directory to that of *another* user.
- Translating SYS$LOGIN_DEVICE only makes sense if you're looking for your own
- device.
-
- --
-
- Ed Wilts, BC Systems Corp., 4000 Seymour Place, Victoria, B.C., Canada, V8X 4S8
- EWilts@Galaxy.Gov.BC.CA | Ed.Wilts@BCSystems.Gov.BC.CA | (604) 389-3430
-