Computing.Net > Forums > Disk Operating System > mapping network drives under dos

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 network drives under dos

Reply to Message Icon

Name: Rick Rice
Date: August 24, 2000 at 05:22:53 Pacific
Comment:

Is it possible to map and unmap network drives under dos? I need to use the format (or something similar) to map \\looney_tunes\application_Location x:\.



Sponsored Link
Ads by Google

Response Number 1
Name: DoOMsdAY
Date: August 24, 2000 at 06:08:52 Pacific
Reply:

Net use will do that. Try typing 'net use /?' at the prompt for the necessary parameters. A note for an issue that has come up with this. You NEED to fill out the '[devicename | *]' parameter with a drive letter to map to (ie 'q:'), else you'll simply get comfirmation that the map is possible.


0

Response Number 2
Name: spaceman
Date: August 24, 2000 at 14:20:46 Pacific
Reply:

As simple as this:
net use x: \\looney_tunes\application_Location


0

Response Number 3
Name: Grant
Date: August 26, 2000 at 00:26:10 Pacific
Reply:

HAY!!!

Glad to see that there are some hard core DOS batch file coders out there that don't need a mouse to map a drive. Last time I checked a .BAT did not have any mice to spare...


0

Response Number 4
Name: Jeff
Date: August 30, 2000 at 16:11:57 Pacific
Reply:

Does anyone know how to enumerate the available shares using NetBEUI. Net view and net share both return errors. I would like to find an API that returns the first found system on the network. I have used the "if exist \\server\\share\\file" format but it is very slow.

Any ideas would be appreciated.

//jp


0

Response Number 5
Name: Jeff
Date: August 31, 2000 at 17:03:12 Pacific
Reply:

FYI ...

I found an API from Microsoft called Lan Manager programmers toolkit. The function NetServerEnum2 performs the precise function i needed.


0

Related Posts

See More



Response Number 6
Name: Jason B. Osenton
Date: October 16, 2000 at 12:35:28 Pacific
Reply:

how do i delete a persistent connection in dos? (opposite of net use: ??)


0

Response Number 7
Name: nick
Date: December 21, 2000 at 12:25:04 Pacific
Reply:

You can delete a connection made with "net use x: \\comp\c" by using "net use x: /delete"


0

Response Number 8
Name: David Eisenberg
Date: March 7, 2001 at 06:16:23 Pacific
Reply:

Can anyone help me with mapping network drives within a C++ program ? I am writing a C++ Windows program (using Borland C++ Builder Pro. Version 5.0, on Win 98 system)
and wish to map a network drive (ex: assign
\\COMP_LD\SEG\DAVE\HEX to F:). I have attempted to use the DefineDosDevice function but keep getting a "path is invlaid" error. I have tried to format the
network drive string differently (\\COMP_LD\SEG\DAVE\HEX, \\\\COMP_LD\\SEG\\DAVE\\HEX, ...) but nothing works. I have used the same function to map a drive to a local directory on the PC running the program, but can't do it over the network.



0

Sponsored Link
Ads by Google
Reply to Message Icon

bad sector formatting hard disk



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 network drives under dos

trouble mapping network drives in DOS www.computing.net/answers/dos/trouble-mapping-network-drives-in-dos/10000.html

mapping network drive www.computing.net/answers/dos/mapping-network-drive/4095.html

how to run my network adapter under dos www.computing.net/answers/dos/how-to-run-my-network-adapter-under-dos/2127.html