PC Review


Reply
Thread Tools Rate Thread

How to attribute a virtual drive letter to a folder from the' Disk

 
 
Ahmed Abdelmoumen
Guest
Posts: n/a
 
      6th Sep 2007
Hello.

i would like to attribute the Z: drive (virtual drive) to a folder from my
hard drive.

how can i do this.

Best Regards.
Ahmed

 
Reply With Quote
 
 
 
 
Andrew McLaren
Guest
Posts: n/a
 
      6th Sep 2007
"Ahmed Abdelmoumen" <(E-Mail Removed)> wrote ...
> i would like to attribute the Z: drive (virtual drive) to a folder from my
> hard drive.



Merhaba, Ahmed

You can do this using the SUBST command. For example:

C:\>subst z: c:\temp

to make C:\TEMP appear as the Z: drive.

I don't think the SUBST drive mapping is persisted, after you log off. You
may need to run it again, every time you log in. The easiest way to do this
would be to create a short batch file containing a SUBST command, and place
it in your Startup folder, %USERPROFILE%\Start Menu\Programs\Startup. The
batch file will then run automatically, every time you log in.

Hope it helps,
--
Andrew McLaren
amclar (at) optusnet dot com dot au


 
Reply With Quote
 
Synapse Syndrome
Guest
Posts: n/a
 
      7th Sep 2007
"Andrew McLaren" <(E-Mail Removed)> wrote in message
news:0877C791-BDD9-439B-90D3-(E-Mail Removed)...
> "Ahmed Abdelmoumen" <(E-Mail Removed)> wrote ...
>> i would like to attribute the Z: drive (virtual drive) to a folder from
>> my hard drive.

>
>
> Merhaba, Ahmed
>
> You can do this using the SUBST command. For example:
>
> C:\>subst z: c:\temp
>
> to make C:\TEMP appear as the Z: drive.
>
> I don't think the SUBST drive mapping is persisted, after you log off. You
> may need to run it again, every time you log in. The easiest way to do
> this would be to create a short batch file containing a SUBST command, and
> place it in your Startup folder, %USERPROFILE%\Start
> Menu\Programs\Startup. The batch file will then run automatically, every
> time you log in.



Andrew, what about a NTFS mounted volume? I have never done this with a
virtual drive, but I always used mounted volumes for My Documents in XP
(With Vista's new shell user folders, redirected and with junction points as
well, I find this unnecessary).

Don't you think this is possible? It's like the exact thing the OP is
looking for.

ss.


 
Reply With Quote
 
Andrew McLaren
Guest
Posts: n/a
 
      7th Sep 2007
"Synapse Syndrome" <(E-Mail Removed)> wrote ...
> Andrew, what about a NTFS mounted volume? I have never done this with a
> virtual drive, but I always used mounted volumes for My Documents in XP


Hey, Synapse

Good point. I interpreted Ahmed's question as "I have a directory, which I
want to refer to by a drive letter"; rather than "I have a disk, which I'd
like to refer to by a directory name". But it's worth noting that both
combinations are posible:

You can use SUBST to assign a drive letter to a directory.

You can use MOUNTVOL to assign a directory name to a disc.

(Although in my experience, it is much easier to mount a disc as a directory
using the Disk Manager UI, under Administrative Tools)

So for example, you add a new hard disk and then mount it on C: as C:\TEMP
(or whatever), instead of it becoming a new D: drive. The catch is that
anything in an already-existing C:\TEMP would be obscured until to unmount
the disc; you really need to mount the disc on an empty directory. That's
pretty much the same as Unix.

Cheers,
--
Andrew McLaren
amclar (at) optusnet dot com dot au


 
Reply With Quote
 
Ahmed Abdelmoumen
Guest
Posts: n/a
 
      7th Sep 2007
Hello,

Thank you for you're, Help
yes subst help me to mount a Folder as a new virtual drive (in fact i have
done this before but forget the name of the command)

Thank you again.
Ahmed.
"Andrew McLaren" <(E-Mail Removed)> a écrit dans le message de
news:E12A5470-8E37-4598-B95E-(E-Mail Removed)...
> "Synapse Syndrome" <(E-Mail Removed)> wrote ...
>> Andrew, what about a NTFS mounted volume? I have never done this with a
>> virtual drive, but I always used mounted volumes for My Documents in XP

>
> Hey, Synapse
>
> Good point. I interpreted Ahmed's question as "I have a directory, which I
> want to refer to by a drive letter"; rather than "I have a disk, which I'd
> like to refer to by a directory name". But it's worth noting that both
> combinations are posible:
>
> You can use SUBST to assign a drive letter to a directory.
>
> You can use MOUNTVOL to assign a directory name to a disc.
>
> (Although in my experience, it is much easier to mount a disc as a
> directory using the Disk Manager UI, under Administrative Tools)
>
> So for example, you add a new hard disk and then mount it on C: as C:\TEMP
> (or whatever), instead of it becoming a new D: drive. The catch is that
> anything in an already-existing C:\TEMP would be obscured until to unmount
> the disc; you really need to mount the disc on an empty directory. That's
> pretty much the same as Unix.
>
> Cheers,
> --
> Andrew McLaren
> amclar (at) optusnet dot com dot au
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I delete Virtual Drive letter Rock Windows XP Help 1 28th Feb 2005 06:52 AM
deleting virtual drive letter fear Windows XP Basics 2 3rd Dec 2004 01:41 AM
Hard Disk Drive Letter Assigned Letter E Robert Di Carlo Windows XP Setup 1 1st Sep 2004 03:48 PM
Virtual Partition / Virtual Disk Drive Andrew Microsoft Windows 2000 Hardware 4 16th Oct 2003 01:48 PM
Removable disk, mapped network disk and drive letter problem Dr. J Windows XP Basics 0 4th Jul 2003 09:06 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:37 PM.