Discussion Locked

Trying to assign a drive letter?

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How do you assign a drive letter to a local folder so that you can map a drive to it? For example (C:\temp) - How would I map a drive to this is Windows98?

7 replies

by bill_h

It's a two step process...you first have to set up the folder for sharing, and then map a drive letter to the share.

Thru Windows Explorer, right-click on the folder, click on 'Properties', and then click on the 'Sharing' tab. Set the 'Share this folder' option, set the name for the share, and click on 'OK'. The folder is now shared. Map the drive by clicking on the 'Map Drive' icon, or navigate to Tools\Map Network Drive. Select the drive letter, browse to the folder you just shared, and click on 'Finish'.

The same may be accomplished thru the command line with the following:

net share sharename=drive:path
net use devicename=\\computername\sharename

You can replace devicename with an asterisk (*) to select the next available device name.

For more info on the NET commands, type NET HELP SHARE and NET HELP USE at the command line.

Hope this helps...

by masked man

at a command prompt type
subst M: c:\temp

add this line to autoexec.bat to map at boot time.

subst M: /d to cancel map

works under DOS, WIN-X, NT-X, 2000

by compute2u

The subst command is the easiest way to assign a Drive letter to a local? directory.
If you need to map it for a network computer you only need to have the drive or directory set-up to share, then on the other computer goto network neighborhood, find the computer you want, click, find the file or drive you want to map and back-click, choose map network drive and select the letter you want.

This discussion is closed to new replies.