Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Win95: map LOCAL path to different drive letter? 2

Status
Not open for further replies.

wingpeople

Programmer
Oct 18, 2002
24
US
I'm trying to map a local folder:

c:\g_drive

to drive letter G: so I can test some legacy software that specifically tries to read files from a drive G:

This is on a laptop named "laptop" with NO network card. When I try using the "map network drive" option out of Windows Explorer, and attempt to map G: to

\\laptop\c\g_drive

it complains that it can't browse the network.

How can I get it to read from a folder on the local drive when it sees a reference to drive G: ?
 
You need networking to be installed, and file and folder sharing enabled.
Install a NULL or fake driver if needed. If the solution is here, let us know it was helpful so others can benefit from it as too
 
I've installed networking, enabled file & printer sharing, and have shared the folder
c:\g_drive

When I try to map to that folder, I still get the error

"The network is not accessible"

which is understandable, since there is no network card.

I'm not sure exactly what you mean by installing a fake driver -- since I don't actually have a network card, nothing but dial-up adapter shows up under Network Adapters (system properties).
 
At a dos prompt type: net use c:\g_drive g

Also on this subject, does anyone remember if the old 'subsitute' function will work in this situation; or is it only for drive letters, like I think it is.
 
I got a syntax error, looked up Help, and tried this instead:

net use g: c:\g_drive

Got an error: "You must log on before performing this operation"

Next, I tried:

Net logon

and got an error: "You cannot do this from within an MS-DOS window."

I've tried using Client for MS Networks as well as Windows Logon. However, I haven't tried setting a password...

Any other thoughts? Win95 doesn't seem to recognize the old DOS "substitute" command or the "assign" command. :(
 
Is the Dialup adapter installed? Or were you just stating the option? If the solution is here, let us know it was helpful so others can benefit from it as too
 
Yes, the dial-up adapter is installed & working properly. I just mentioned that because it is the only item listed under Network Adapters in the Device Manager.
 
Actually, substitute should work. Try:

subst g: c:\g_drive

If this works the way you want, add this line to the end of your autoexec.bat file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top