Map local directory

J

John Appleyard

On my laptop I have a sub-directory (D:\JDRIVE) that I wish to map as J:

Normally I do this by making it a network share, and then mapping it to
a drive letter. This works well as long as I'm hooked up to a network,
but when I leave the office, the mapping fails.

I do know about SUBST, but never found a way to make it reliable and
invisible. In fact, I switched away from SUBST to using network shares
because SUBST wasn't working well.

Is there a way to do this robustly with and without a network?
 
R

Ramesh [MVP]

John,

What's the exact problem using SUBST? You need to create a .BAT or .CMD file to run at startup (with the SUBST command-lines) so that the mapping is retained on every boot.

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


On my laptop I have a sub-directory (D:\JDRIVE) that I wish to map as J:

Normally I do this by making it a network share, and then mapping it to
a drive letter. This works well as long as I'm hooked up to a network,
but when I leave the office, the mapping fails.

I do know about SUBST, but never found a way to make it reliable and
invisible. In fact, I switched away from SUBST to using network shares
because SUBST wasn't working well.

Is there a way to do this robustly with and without a network?
 
J

John Appleyard

Ramesh said:
John,

What's the exact problem using SUBST? You need to create a .BAT or
.CMD file to run at startup (with the SUBST command-lines) so that
the mapping is retained on every boot.
Well - it was a while ago, but I think the problem was that I couldn't
run it at system startup - it had to be when a user logged on, and that
meant that services, scheduled tasks etc. couldn't see the SUBSTed
drive. There was more, but I don't remember the detail..

Mind you, the mapped drive has some similar problems. On my previous
setup I had a partition with the specified drive letter, and that was a
pretty complete solution, but I don't think I have that option now
(unless I can have 2 drive letters for a single partition).
 
C

chet0729

All you need is a loop back for your ethernet so the system thinks yo
are connected. just cut the end off of an ether net cable and connec
pins 1&3 and pins 2&6 and your machine will think the network i
active



John said:
Well - it was a while ago, but I think the problem was that
couldn't
run it at system startup - it had to be when a user logged on, an
that
meant that services, scheduled tasks etc. couldn't see the SUBSTed
drive. There was more, but I don't remember the detail..

Mind you, the mapped drive has some similar problems. On m
previous
setup I had a partition with the specified drive letter, and that wa
a
pretty complete solution, but I don't think I have that option now
(unless I can have 2 drive letters for a single partition).

--
John Appleyard - (send email to john!news@.. rather tha
spamtrap@..)
Polyhedron Software
Programs for Programmers - QA, Compilers, Graphics, Consultancy
********* Visit our Web site on http://www.polyhedron.co.uk
*********


-
chet072
 

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