Mapping a Network Drive
Mapping a Network Drive
- Subject: Mapping a Network Drive
- From: Bob Rodgers <email@hidden>
- Date: Thu, 21 Dec 2000 10:13:05 +1000
Dear Applescripters,
I am having an initial "play" with scripting and have written a small
script that builds on the "dismount all disks" script that comes as a
sample. It allows students at our school to quickly log off and on to our
school network.
I would like to take it to the next level and have the script show the
student's home folder on the desktop rather than the whole volume. For
instance at present it mounts a volume called "Shared" - in that volume are
folders for the various year levels "2000y12", "2001y12", "2002y12" and so
on (based on the year they will do their final year at school). Inside
those folders students find their own home folder based on their logon
name. The network they log to is Novell 4.11 at present but next year may
be switched to Windows 2000 Server.
For IBM-type machines a logon script can map a home directory to drive H or
whatever. But for the Macs the students see "Shared" on the desktop, then
have to open it, then open their year level folder, then open their home
folder.
Is it possible to "capture" their logon name in some way as they log on and
then use it in a "variable" to mount a folder (or an alias) on the desktop
that takes them directly to their home folder?
Thank you in advance for any advice
Bob