Assigning drive letter to a folder

  • Thread starter Thread starter AJ Reyes
  • Start date Start date
A

AJ Reyes

hi, is it possible to assign an unused drive letter to a folder? do i
need a program (freeware, of course) to do this? thanks

AJR
 
AJ said:
hi, is it possible to assign an unused drive letter to a folder? do i
need a program (freeware, of course) to do this? thanks

AJR

SUBST [<DRIVELETTER>: [Path]

example

SUBST X: C:\program files

makes the contents of C:\program files visible at X:
Works in all windows versions from Win 95 and up.


After reboot, the drive letter is gone.
To solve this problem you could add the command to the
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RUN
or create a batch (.bat) file with the command and place it in your start up
directory of the start menu.


There are also a few utilities out there that can assist you with it, like
http://www.golddownload.com/Utilities_File_Management_Virtual_Drive_Creator8482_3143.html

mightyKitten
 
There's been a "substitute" type command around since the early days of DOS.
 
MightyKitten said:
AJ said:
hi, is it possible to assign an unused drive letter to a folder? do i
need a program (freeware, of course) to do this? thanks

AJR

SUBST [<DRIVELETTER>: [Path]

example

SUBST X: C:\program files
or SUBST X: C:\progra~1 , perhaps.
makes the contents of C:\program files visible at X:
Works in all windows versions from Win 95 and up.
I haven't dared fiddle - are changes in one mirrored in the other?
 
Roger said:
I haven't dared fiddle - are changes in one mirrored in the other?

Nope, it is just 2 ways to do the same thing. Using the registy is more
'dangerous' and more work, but could be a less intruding in the end. Most
subsitiute programs will work the same way.

MightyKitten
 
example

SUBST X: C:\program files

makes the contents of C:\program files visible at X:
Works in all windows versions from Win 95 and up.


Can't work .......... C:\Program Files MUST be enclosed in quotes

example

SUBST X: "C:\program files"
 
Doc wrote:
<SNIP
Can't work .......... C:\Program Files MUST be enclosed in quotes

example

SUBST X: "C:\program files"

True in this case... (any SUBST case actually)


MightyKitten
 

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

Back
Top