How to map a path to a drive in windows

Thread Tools Search this Thread
Special Forums Windows & DOS: Issues & Discussions How to map a path to a drive in windows
# 1  
Old 06-25-2011
How to map a path to a drive in windows

Hi all,

Can anybody explain me about mapping a path to a drive with example?

# 2  
Old 06-25-2011
A local path or network path?

C:\Documents and Settings\Owner\My Documents>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.

C:\Documents and Settings\Owner\My Documents>H:
The system cannot find the drive specified.

C:\Documents and Settings\Owner\My Documents>subst H: "C:\Documents and Settings\Owner"

C:\Documents and Settings\Owner\My Documents>H:

 Volume in drive H is winxp
 Volume Serial Number is FC29-5D06

 Directory of H:\

06/01/2011  09:42 PM    <DIR>          .
06/01/2011  09:42 PM    <DIR>          ..
06/18/2011  01:41 AM    <DIR>          Desktop
03/31/2011  10:08 PM    <DIR>          Favorites
06/25/2011  03:06 PM    <DIR>          My Documents
06/09/2011  07:01 PM    <DIR>          Start Menu
               0 File(s)              0 bytes
              14 Dir(s)  230,540,996,608 bytes free

# 3  
Old 06-26-2011
Thank you ...
# 4  
Old 09-20-2011
Late to the game...but... Two ways to do this easily
1. Map the drive in Explorer
2. Check the 'net use' command <there are lots of examples on the net>
This User Gave Thanks to Spellbound For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Linux

Systemd cryptsetup fails to map drive during reboot

I have created an encrypted disk using the following command: # cryptsetup create testcui /dev/sdb --key-file= /etc/keys --verify-passphrase plain This created the correctly mapped device /dev/mapper/testcui I have create the crypttab file with the following: # # test disk #... (0 Replies)
Discussion started by: jlowry
0 Replies

2. UNIX for Dummies Questions & Answers

Map network drive

Hi I need to restore an oracle backup from production in a test x86 Solaris 10 box . But the space is limited and does not have enough to hold both the backup as well as database . Hence , I am thinking of mapping a network drive from another x86 Solaris 10. Pls let me know if it is... (3 Replies)
Discussion started by: Rossdba
3 Replies

3. UNIX for Dummies Questions & Answers

Need help to move .csv file from UNIX path to windows shared drive or c:\ drive

Hi Guys, Can any one help me on this. I need help to move .csv/.xls file from unix path to windows shared drive or c:\ drive? Regards, LKR (1 Reply)
Discussion started by: lakshmanraok117
1 Replies

4. Windows & DOS: Issues & Discussions

Script to automatically map samba shares as network drive

Hopefully someone will be kind enough to help me. I have a fileserver acting as a PDC and providing samba shares to a small network. Authentication to the PDC is via LDAP (setup using ebox) The users all have real local accounts on the server. I would like a windows logon script that will:... (4 Replies)
Discussion started by: barrydocks
4 Replies

5. Linux

Auto map network drive using SAMBA with batch file

Hi everyone. I have several shares (see smb.conf below). Each setup fairly similarly, and several groups. My end goals are: 1) to have the share automatically map as the P: drive to members of the employees group 2) to have the share automatically map as the t: drive to members of the tech... (0 Replies)
Discussion started by: unassassinable
0 Replies

6. UNIX for Dummies Questions & Answers

Map Drive From Windows To Apache Shared Drive?

Anyone know how I can map a windows drive to an apache shared drive? In my httpd.conf file, I have: Alias /merc_rpts/ "/u/merc_rpts/" <Directory "/u/merc_rpts"> Options Indexes </Directory> I'm able to bring up a browser and see the contents of this folder. In... (0 Replies)
Discussion started by: gseyforth
0 Replies

7. Solaris

How to map drive from Sun Solaris to Windows! Help me

I have two servers, one running on Windows server 2003 and one running Sun Solaris 10. Can you help me how to map drive from Sun Solaris to Windows server 2003. Thanks (1 Reply)
Discussion started by: tanhq
1 Replies

8. UNIX for Dummies Questions & Answers

Map Drive from UNIX Server to Windows Clients

hi all ;; I have a Tru64 UNIX machine , first i want my employees ( windows clients) to see specific directory on unix , and how can i put a unix command in a visual basic code to copy the contents of that directory to drive c in the client side who request that by clicking a push button. ... (3 Replies)
Discussion started by: kafaween
3 Replies

9. Solaris

Map Network Drive...

Hallo...Hi, Anyone can help me???How can I map network drive from Windows if i'm using the Sun Solaris 8 server? :confused: (1 Reply)
Discussion started by: mrboomber
1 Replies
Login or Register to Ask a Question