Re: use subst to map a drive at startup

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Shenan Stanley (news_helper_at_hushmail.com)
Date: 07/29/04


Date: Thu, 29 Jul 2004 17:59:23 -0500

russ wrote:
> can someone please tell me how to (or rather where to)
> place the line
> subst m: "e:\my documents\my music"
> (or WinXP equivalent)
> so that it is implemented each time I boot the PC

Create a script. Call it "mapdrv.cmd" and save it someowhere.. Make a
shortcut to in your startup folder (or create the script itself in your
startup folder.)

Your startup folder is located:

C:\Documents and Settings\YOURPROFILENAME\Start Menu\Programs\Startup

That script would have that line in it..

subst m: "e:\my documents\my music"

-- 
<- Shenan ->
-- 
The information is provided "as is", with no guarantees of
completeness, accuracy or timeliness, and without warranties of any
kind, express or implied.  In other words, read up before you take any
advice - you are the one ultimately responsible for your actions.


Relevant Pages

  • FW: how to enble icf remotely - script available for download
    ... As you'll see from his note below, Erik has made his script available for everyone to download. ... Russ - NTBugtraq Editor ... Read Special Ops and mount an assault to eradicate network negligence today. ... review of the homeland security business, Ranum shows us how the problem ...
    (NT-Bugtraq)
  • Re: MessageBox questions
    ... > Thanks to Alvin, Scott & Bruce for the help. ... > script was from AWK about a hundred years ago - whew! ... > Thanks again, Russ ... >>this script work in a web client application? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to use Login Script to map a drive
    ... Russ Grover ... >> implementing a login script to map F: drive to a Sys share that I ...
    (microsoft.public.windows.server.sbs)
  • Re: Script Issue
    ... What happens if you place the .bat file in the user's startup folder? ... Doug Sherman ... I set your example below to "enabled" and it still won't map the drives via the script. ...
    (microsoft.public.windows.server.setup)
  • Re: Black Screen
    ... > But if you do that, the other objects in the STARTUP Folder don't load ... LAN-connected system as well as a dial-up, is that the NET START overlapped ... with some rather CPU-intensive Desktop initialization during bootup. ... & issued from a script invoked via a Program Reference object in the Startup ...
    (comp.os.os2.bugs)