i would like to be able to assign a folder to a drive from command prompt.
How can i do this? I have XP Home. Thanks

Re: Assign Folder to a Drive from command prompt by smlunatick

smlunatick
Thu Mar 27 07:42:54 PDT 2008

On Mar 27, 9:24=A0am, ihammerhands2000
<ihammerhands2...@discussions.microsoft.com> wrote:
> i would like to be able to assign a folder to a drive from command prompt.=

> How can i do this? I have XP Home. Thanks

Possiblym you need to 'subst' command:

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.

Re: Assign Folder to a Drive from command prompt by Ken

Ken
Thu Mar 27 12:26:47 PDT 2008

On Thu, 27 Mar 2008 07:24:01 -0700, ihammerhands2000
<ihammerhands2000@discussions.microsoft.com> wrote:

> i would like to be able to assign a folder to a drive from command prompt.
> How can i do this? I have XP Home. Thanks



Sorry, I don't understand what you're asking. Can you clarify what you
want to do? Give an example, if possible.

--
Ken Blake, Microsoft MVP - Windows Desktop Experience
Please Reply to the Newsgroup

Re: Assign Folder to a Drive from command prompt by ihammerhands2000

ihammerhands2000
Thu Mar 27 13:24:01 PDT 2008

You know when you go into msconfig and change the drive paths from there?
Where there is an option to assign it a folder in stead of a drive letter. I
was wanting to be able to do that from command prompt. is it possible?

"Ken Blake, MVP" wrote:

> Sorry, I don't understand what you're asking. Can you clarify what you
> want to do? Give an example, if possible.
>
> --
> Ken Blake, Microsoft MVP - Windows Desktop Experience
> Please Reply to the Newsgroup
>

Re: Assign Folder to a Drive from command prompt by Ken

Ken
Thu Mar 27 14:36:52 PDT 2008

On Thu, 27 Mar 2008 13:24:01 -0700, ihammerhands2000
<ihammerhands2000@discussions.microsoft.com> wrote:

> You know when you go into msconfig and change the drive paths from there?
> Where there is an option to assign it a folder in stead of a drive letter. I
> was wanting to be able to do that from command prompt. is it possible?



Sorry, I still don't understand what you want to do. Please explain
exactly what you want to accomplish and why. If we understand your
need, or desire, I, or someone else here, may be able to suggest a
solution that you haven't even considered.




> "Ken Blake, MVP" wrote:
>
> > Sorry, I don't understand what you're asking. Can you clarify what you
> > want to do? Give an example, if possible.
> >
> > --
> > Ken Blake, Microsoft MVP - Windows Desktop Experience
> > Please Reply to the Newsgroup
> >

--
Ken Blake, Microsoft MVP - Windows Desktop Experience
Please Reply to the Newsgroup

Re: Assign Folder to a Drive from command prompt by Uwe

Uwe
Fri Mar 28 01:14:00 PDT 2008

ihammerhands2000 wrote:
> i would like to be able to assign a folder to a drive from command prompt.
> How can i do this? I have XP Home. Thanks

XP has the MOUNTVOL command which can do this, but it is
quite unhandy because you have to deal with volume names
like \\?\Volume{2dc3c95f-dde6-11dc-b8cb-000102b35cc3}\.

My commandline tool ReMount is more handy. Sample:

remount x: c:\USB-Drive1

http://www.uwe-sieber.de/drivetools_e.html#ReMount


My Win32 service USBDLM can do it automatically for
certain drives:
http://www.uwe-sieber.de/usbdlm_e.html



Uwe




Re: Assign Folder to a Drive from command prompt by smlunatick

smlunatick
Fri Mar 28 08:51:53 PDT 2008

On Mar 27, 3:24=A0pm, ihammerhands2000
<ihammerhands2...@discussions.microsoft.com> wrote:
> You know when you go into msconfig and change the drive paths from there?
> Where there is an option to assign it a folder in stead of a drive letter.=
I
> was wanting to be able to do that from command prompt. is it possible?
>
>
>
> "Ken Blake, MVP" wrote:
> > Sorry, I don't understand what you're asking. Can you clarify what you
> > want to do? Give an example, if possible.
>
> > --
> > Ken Blake, Microsoft MVP - Windows Desktop Experience
> > Please Reply to the Newsgroup- Hide quoted text -
>
> - Show quoted text -

What are you asking? MSCONFIG does not have place to drive path
beside in the BOOY.INI. BOOT.INI should not be messed with besides
from within MSCONFIG.

Re: Assign Folder to a Drive from command prompt by ihammerhands2000

ihammerhands2000
Fri Mar 28 21:46:00 PDT 2008

ah thanks, thats exactly hat i needed

"Uwe Sieber" wrote:

> ihammerhands2000 wrote:
> > i would like to be able to assign a folder to a drive from command prompt.
> > How can i do this? I have XP Home. Thanks
>
> XP has the MOUNTVOL command which can do this, but it is
> quite unhandy because you have to deal with volume names
> like \\?\Volume{2dc3c95f-dde6-11dc-b8cb-000102b35cc3}\.
>
> My commandline tool ReMount is more handy. Sample:
>
> remount x: c:\USB-Drive1
>
> http://www.uwe-sieber.de/drivetools_e.html#ReMount
>
>
> My Win32 service USBDLM can do it automatically for
> certain drives:
> http://www.uwe-sieber.de/usbdlm_e.html
>
>
>
> Uwe
>
>
>
>