Subst a drive at startup


  1. Posts : 5
    Windows 7
       #1

    Subst a drive at startup


    Hi,

    I want to map a folder to a drive at startup. I did this on my Windows XP box by adding a registry entry in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run, which said:

    subst v: c:\vss

    This doesn't work in Windows 7, i.e. whenever I boot the subst'd drive is missing. I'm not running as admin on this 7 box whereas I was on the XP version.

    Any thoughts?
      My Computer


  2. Posts : 303
    Windows 7 Ultimate
       #2

    SUBST N: c:\whatever\whatever

    Create a text file containing the command with a .CMD or .BAT extension, and put it here:

    \Users\All Users\Microsoft\Windows\Start Menu\Programs\Startup
      My Computer


  3. Posts : 5,056
    Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
       #3

    This page should help you. Scroll down, the stuff you want is mostly in the user comments at the bottom.

    Map a Drive Letter to a Folder the Easy Way in Windows - How-To Geek
      My Computer


  4. Posts : 5
    Windows 7
    Thread Starter
       #4

    I tried the batch file thing, putting it into the startup folder and all it does is launch the .bat file in notepad, rather than actually running it!
      My Computer


  5. Posts : 5
    Windows 7
    Thread Starter
       #5

    k thanks, I'll use Visual Subst.
      My Computer


  6. Posts : 303
    Windows 7 Ultimate
       #6

    Robinson said:
    I tried the batch file thing, putting it into the startup folder and all it does is launch the .bat file in notepad, rather than actually running it!
    That sounds like you saved the file as whatever.bat.txt

    .txt is Notepad's default file extension.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:20.
Find Us