Permanent Drive Mapping Via Command Line?

How do I "permanently" map a network drive via the command line?

I am building a script, to automatically map a drive, but there is no way to check if the "Reconnect at logon" flag is on or off, so the best alternate way of doing this would be via a command line.  What if the drive is allready mapped? How do you keep it from remapping?
Our lan is running NetWare 4.x
fcamachoAsked:
Who is Participating?
 
Mark AertsConnect With a Mentor Commented:
You only can do a perminent mapping with putting the MAP... line in the logonscript using nwadmin!!!
0
 
jlove1Commented:
you can use the MAP command or the MAP NEXT command to map the next available drive letter.
0
 
fcamachoAuthor Commented:
Note that the key word here is "permanently".  The drive mapping will be gone after a reboot.  MAP does not have a parameter to make the drive permanent.  And BTW neither does "NET USE".
0
 
jlove1Commented:
this was what I was speaking of.. I guess I should be more specific.

0
 
fcamachoAuthor Commented:
I guess there is no solution to this matter, as placing it in a login script is not a "permanent" solution.  The Script or MAP command must be executed upon every reboot by Novel, Not Windows95 which does not cover many users that do not run the Novel scripts.

(Oh yeah here's some exclamation points for you.  This is a Windows95 Networking question, MAP is a Novel command!!!!.)

...  and one extra point for your effort.

Thank you for your response.
0
All Courses

From novice to tech pro — start learning today.