Compatible Support Forums: subst

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

subst

#1 User is offline   Fenn 

  • stranger
  • Group: Members
  • Posts: 7
  • Joined: 05-April 02

Posted 20 August 2002 - 02:21 PM

Is there a way I can make subst commands persistant (they are still active at the next reboot)? I know you can map a network drive to a local folder to get a persistant directory mapped to drive but this solution is far from ideal. Subst would work better but it doesn't survive to the next restart.
0

#2 User is offline   Champion_R 

  • enthusiast
  • Group: Members
  • Posts: 266
  • Joined: 25-October 01

Posted 20 August 2002 - 02:28 PM

You could write a BAT file to run subst and place it in the startup folder on the start menu
0

#3 User is offline   franzj 

  • newbie
  • Group: Members
  • Posts: 42
  • Joined: 25-April 00

Posted 20 August 2002 - 02:36 PM

Yeah, an easy way is to make a shortcut to the complete subst command you want to use, and put it in your Startup folder. For example:

When the shortcut wizard first prompts you, type something like "subst u: c:\windows" , click Next, name the shortcut whatever you want, and then click Finish.

To place the shortcut in your startup folder, drag it to the Start Menu -> All Programs (ie. Programs) -> Startup and drop it there.
0

#4 User is offline   franzj 

  • newbie
  • Group: Members
  • Posts: 42
  • Joined: 25-April 00

Posted 20 August 2002 - 02:41 PM

The batch file would be ideal if you want to run subst several times on startup. Either way works for one total subst command.

To make a batch file open Notepad, type in the complete command you want, separate each command by a line break:

(eg.) subst u: c:\windows
subst v: "c:\program files"

then save the text file with a .bat extension by enclosing the filename in quotes:

(eg.) "startup_file.bat"

Once that's done, drag the saved batch file to your Startup folder.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users