Windows XP Community - XPHeads



Assign Folder to a Drive from command prompt

microsoft.public.windowsxp.help_and_support


Reply
  #1 (permalink)  
Old 03-27-2008, 02:24 PM
ihammerhands2000
 
Posts: n/a
Assign Folder to a Drive from command prompt
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-27-2008, 02:42 PM
smlunatick
 
Posts: n/a
Re: Assign Folder to a Drive from command prompt
On Mar 27, 9:24*am, 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-27-2008, 07:26 PM
Ken Blake, MVP
 
Posts: n/a
Re: Assign Folder to a Drive from command prompt
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-27-2008, 08:24 PM
ihammerhands2000
 
Posts: n/a
Re: Assign Folder to a Drive from command prompt
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
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-27-2008, 09:36 PM
Ken Blake, MVP
 
Posts: n/a
Re: Assign Folder to a Drive from command prompt
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 03-28-2008, 08:14 AM
Uwe Sieber
 
Posts: n/a
Re: Assign Folder to a Drive from command prompt
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



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 03-28-2008, 03:51 PM
smlunatick
 
Posts: n/a
Re: Assign Folder to a Drive from command prompt
On Mar 27, 3:24*pm, 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 03-29-2008, 04:46 AM
ihammerhands2000
 
Posts: n/a
Re: Assign Folder to a Drive from command prompt
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
>
>
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

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



All times are GMT. The time now is 03:36 AM.


Registry Mechanic - Free Scan Now
Driver Scanner 2009 - Free Scan Now




Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74