Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is theer a way to mount a local path with a user friend name (similar to a device name). For eg, mount 'D:/Users/Rahul' folder as 'Rahul'.

share|improve this question
add comment

2 Answers 2

You cannot make it a devicename, but you can use the subst command to make it a single letter drive name.

this command in command prompt will make a new drive letter U: pointing to your folder

subst U: d:\Users\Rahul
share|improve this answer
add comment

You may use environment variables if this suits your needs

Update: See http://en.wikipedia.org/wiki/Environment_variable for examples on how to create environment variables

share|improve this answer
    
How about an example? –  Bård Nov 23 '09 at 15:20
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.