Computing.Net > Forums > Disk Operating System > mapping drive in dos permanent

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

mapping drive in dos permanent

Reply to Message Icon

Name: ozzie
Date: September 7, 2000 at 19:54:37 Pacific
Comment:

Hello,, is there anyone who knows how to map a network drive in dos but make in it permanet. or run some kind of batchfile to do this. I am trying to map a drive to my nt network, I know you can do it by right clicking on network neighborhood and then mapping , but i am trying to do it using a batch file.



Sponsored Link
Ads by Google

Response Number 1
Name: DoOMsdAY
Date: September 8, 2000 at 06:28:33 Pacific
Reply:

Type 'net use /?' in a DOS box and look at the options. The one you want in particular is /persistent. If you make it persistent, then it will re-connect when you reboot your OS. Add the appropriate net use command to a batch file and use that. Example net use command:



net use q: \\server\share password /user:domain\username /persistent:yes


Done and done.

0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: mapping drive in dos permanent

mapping drives in DOS www.computing.net/answers/dos/mapping-drives-in-dos/1583.html

Proprietary CD-Rom Drive in DOS www.computing.net/answers/dos/proprietary-cdrom-drive-in-dos/11853.html

Can I have 6 Floppy Drives in DOS? www.computing.net/answers/dos/can-i-have-6-floppy-drives-in-dos/6762.html