Solved

Permanent Drive Mapping Via Command Line?

Posted on 1998-04-23
5
2,170 Views
Last Modified: 2013-12-23
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
0
Comment
Question by:fcamacho
  • 2
  • 2
5 Comments
 
LVL 3

Expert Comment

by:jlove1
ID: 1544021
you can use the MAP command or the MAP NEXT command to map the next available drive letter.
0
 

Author Comment

by:fcamacho
ID: 1544022
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
 
LVL 4

Accepted Solution

by:
Mark Aerts earned 100 total points
ID: 1544023
You only can do a perminent mapping with putting the MAP... line in the logonscript using nwadmin!!!
0
 
LVL 3

Expert Comment

by:jlove1
ID: 1544024
this was what I was speaking of.. I guess I should be more specific.

0
 

Author Comment

by:fcamacho
ID: 1544025
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

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

A brief overview to explain gateways, default gateways and static routes OR NO - you CANNOT have two default gateways on the same server, PC or other Windows-based network device. In simple terms a gateway is formed when a computer such as a serv…
Have you ever set up your wireless router at home or in the office to find that you little pop-up bubble in the bottom right-hand corner of Windows read "IP Conflict - One of more computers on the network have been assigned the following IP address"…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now