map a local folder as a network drive

B

boaz

Hi,

I would like to map a local folder as a network drive. For example, I want
to map the My Document folder as the K: drive. So when I open the K: drive,
it opens My Document.

I can map the folder as a drive. However, the problem is that in order to
have it to work, I need to connect to the Internet. If I don't connect to
the Internet, the K: drive will not be accessible.

As soon as I connect to the Internet (dialup), the K: drive appears and
functional.

Would you guy help me with this please?

Thanks!


--
 
B

bumtracks

Maybe with the SUBST command make the folder a virtual drive ?
Subst V: C:\DOCUME~1\mike\MYDOCU~1
 
B

boaz

Oh yes... that may work... but how do I do this in XP? Make an AUTOEXEC.BAT
file? Does this thing still exist?
 
C

Chris Priede

Hi,
I would like to map a local folder as a network drive.

What you really want to do is use the "subst" command:

C:\Documents and Settings\Chris>subst /?
Associates a path with a drive letter.

SUBST [drive1: [drive2:]path]
SUBST drive1: /D

drive1: Specifies a virtual drive to which you want to assign a
path
[drive2:]path Specifies a physical drive and path you want to assign to
a virtual drive.
/D Deletes a substituted (virtual) drive.

Type SUBST with no parameters to display a list of current virtual drives.
I can map the folder as a drive. However, the problem is that in
order to have it to work, I need to connect to the Internet. If I
don't connect to the Internet, the K: drive will not be accessible.

This is happening because you have no configured adapter for the server and
client to bind to. Use subst command.
 
B

boaz

Oh... I am sorry... I didn't make myself clear.

What I meant was that whether or not I could save it to an AUTOEXEC.BAT
file, so that I didn't have to type it every time I logged in.
 
B

boaz

subst works. Thanks guys!


boaz said:
Hi,

I would like to map a local folder as a network drive. For example, I
want to map the My Document folder as the K: drive. So when I open the K:
drive, it opens My Document.

I can map the folder as a drive. However, the problem is that in order to
have it to work, I need to connect to the Internet. If I don't connect to
the Internet, the K: drive will not be accessible.

As soon as I connect to the Internet (dialup), the K: drive appears and
functional.

Would you guy help me with this please?

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top