CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Thread: SUBST using GUI

  1. #1
    Join Date
    Mar 2003
    Location
    India {Mumbai};
    Posts
    3,871

    Unhappy SUBST using GUI

    I have a folder that I frequently access. I want to make it as drive letter.

    I made it using:
    SUBST M: c:\mydir

    I just wanted to know whether GUI part is available for it. I tried Computer Management (Disk Management, Logical Drives etc.).
    I am using Win2000, SP2.

    Thanx.
    My latest article: Explicating the new C++ standard (C++0x)

    Do rate the posts you find useful.

  2. #2
    Join Date
    Aug 2004
    Posts
    33

    Re: SUBST using GUI

    I just wanted to know whether GUI part is available for it.

  3. #3
    Join Date
    Mar 2003
    Location
    India {Mumbai};
    Posts
    3,871

    Re: SUBST using GUI

    I just meant how we can do the same (drive letter change) from Windows itself, without invoking Command Prompt. And how to make that stable even after restarts.
    My latest article: Explicating the new C++ standard (C++0x)

    Do rate the posts you find useful.

  4. #4
    Join Date
    Aug 2004
    Posts
    33

    Re: SUBST using GUI

    In windows explorer Tools|Map Network Drive

    To make the mapping persist check 'Reconnect at logon'

  5. #5
    Join Date
    Mar 2003
    Location
    India {Mumbai};
    Posts
    3,871

    Re: SUBST using GUI

    Ohhhh!
    I didnt mean that. Assume following scenario is there:
    • There is no Intranet associated, no network card installed.
    • There is a long path like d:\Jokes\Old Man\Programmer\Movies\Good\Bad\Girl\Red Color\Secret\Coffee\VisitHere
    • Now I do want to give a drive name to VisitHere folder (or any other like it)
    I can do the same using SUBST command, as mentioned in first post.

    Now, I do want the same picture from Windows itself. Moreover, the named folder with drive should be stabe, which is not the case when we use SUBST.

    Thanks.
    My latest article: Explicating the new C++ standard (C++0x)

    Do rate the posts you find useful.

  6. #6
    Join Date
    Aug 2004
    Posts
    33

    Re: SUBST using GUI

    Sorry, I just realised that map network drive does not quite work that way. If you want the SUBST settings to persist after a logoff, logon you could create a batch file that runs when you logon, like an autoexec.bat of old

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured