Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Computer Support > Using SUBST With Win XP

Reply
Thread Tools

Using SUBST With Win XP

 
 
Slyfoot
Guest
Posts: n/a
 
      06-29-2004
How do you substitute a drive name to go to a directory in Windows XP?
With Win 98 and earlier, you could type SUBST Z: C:\SOMEDIRECTORY.
You can still do that with Win XP, but I can't figure out how to make
it permanent. I have put SUBST Z: C:\PROGRA~1\TIMEDATA in the
AUTOEXEC.BAT and although that command still works on the commandline,
the Z: drive is not recognized on reboot. I have even used TweakUI
for XP to parse the AUTOEXEC.BAT file but it still does not work. I
think it can be done in the Environmental Settings on the Advanced Tab
in My Computer, but I'm not sure.

~Sly

--
Sam Campbell III
Professional Dilettante
http://www.livejournal.com/~slyfoot/
 
Reply With Quote
 
 
 
 
Mr. Trevor Fourie
Guest
Posts: n/a
 
      06-29-2004
Slyfoot wrote:
> How do you substitute a drive name to go to a directory in Windows XP?
> With Win 98 and earlier, you could type SUBST Z: C:\SOMEDIRECTORY.
> You can still do that with Win XP, but I can't figure out how to make
> it permanent. I have put SUBST Z: C:\PROGRA~1\TIMEDATA in the
> AUTOEXEC.BAT and although that command still works on the commandline,
> the Z: drive is not recognized on reboot. I have even used TweakUI
> for XP to parse the AUTOEXEC.BAT file but it still does not work. I
> think it can be done in the Environmental Settings on the Advanced Tab
> in My Computer, but I'm not sure.
>
> ~Sly


Forget everything you ever knew about Windows 9x. It's dead!

Windows NT base products use autoexec.nt. Search for it.

--




 
Reply With Quote
 
 
 
 
°Mike°
Guest
Posts: n/a
 
      06-29-2004
Just use a batch file and put it in your startup folder.
This can be done from the registry, but it's easier
from your startup folder.


***** <--- Omit this line
@ECHO OFF
SUBST z: c:\progra~1\timedata
CLS
EXIT
***** <--- Omit this line


On Tue, 29 Jun 2004 18:52:51 GMT, in
<>
Slyfoot scrawled:

>How do you substitute a drive name to go to a directory in Windows XP?
>With Win 98 and earlier, you could type SUBST Z: C:\SOMEDIRECTORY.
>You can still do that with Win XP, but I can't figure out how to make
>it permanent. I have put SUBST Z: C:\PROGRA~1\TIMEDATA in the
>AUTOEXEC.BAT and although that command still works on the commandline,
>the Z: drive is not recognized on reboot. I have even used TweakUI
>for XP to parse the AUTOEXEC.BAT file but it still does not work. I
>think it can be done in the Environmental Settings on the Advanced Tab
>in My Computer, but I'm not sure.
>
>~Sly


--
Basic computer maintenance
http://uk.geocities.com/personel44/maintenance.html
 
Reply With Quote
 
Ralph Wade Phillips
Guest
Posts: n/a
 
      06-29-2004
Howdy!

"Slyfoot" <> wrote in message
news:...
> How do you substitute a drive name to go to a directory in Windows XP?
> With Win 98 and earlier, you could type SUBST Z: C:\SOMEDIRECTORY.
> You can still do that with Win XP, but I can't figure out how to make
> it permanent. I have put SUBST Z: C:\PROGRA~1\TIMEDATA in the
> AUTOEXEC.BAT and although that command still works on the commandline,
> the Z: drive is not recognized on reboot. I have even used TweakUI
> for XP to parse the AUTOEXEC.BAT file but it still does not work. I
> think it can be done in the Environmental Settings on the Advanced Tab
> in My Computer, but I'm not sure.


Workaround - Share the directory, then map the share as the drive.

Doesn't work if you don't have a live network ...

RwP


 
Reply With Quote
 
Slyfoot
Guest
Posts: n/a
 
      06-30-2004
On Tue, 29 Jun 2004 18:52:51 GMT, (Slyfoot) wrote:

I wanted to say "thanks" to all who responded!

~Sly

--
Sam Campbell III
Professional Dilettante
http://www.livejournal.com/~slyfoot/
 
Reply With Quote
 
°Mike°
Guest
Posts: n/a
 
      06-30-2004
You're welcome.


On Wed, 30 Jun 2004 08:47:22 GMT, in
<>
Slyfoot scrawled:

>On Tue, 29 Jun 2004 18:52:51 GMT, (Slyfoot) wrote:
>
>I wanted to say "thanks" to all who responded!
>
>~Sly


--
Basic computer maintenance
http://uk.geocities.com/personel44/maintenance.html
 
Reply With Quote
 
Ramesh Kaliyaperumal Ramesh Kaliyaperumal is offline
Junior Member
Join Date: Jun 2012
Posts: 1
 
      06-01-2012
RwP,

Probably you can create a bat file with the command "SUBST D: C:\Drive_D" and keep it in system startup, so that wehenever you start/reboot the system the drive will get mapped and available in "my computer"

may be a silly answer , but it works for me .. lol

Ramesh




QUOTE=Ralph Wade Phillips;957060]Howdy!

"Slyfoot" <> wrote in message
news:...
> How do you substitute a drive name to go to a directory in Windows XP?
> With Win 98 and earlier, you could type SUBST Z: C:\SOMEDIRECTORY.
> You can still do that with Win XP, but I can't figure out how to make
> it permanent. I have put SUBST Z: C:\PROGRA~1\TIMEDATA in the
> AUTOEXEC.BAT and although that command still works on the commandline,
> the Z: drive is not recognized on reboot. I have even used TweakUI
> for XP to parse the AUTOEXEC.BAT file but it still does not work. I
> think it can be done in the Environmental Settings on the Advanced Tab
> in My Computer, but I'm not sure.


Workaround - Share the directory, then map the share as the drive.

Doesn't work if you don't have a live network ...

RwP[/QUOTE]
 
Reply With Quote
 
 
 
Reply

Thread Tools

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Applet to run on Win 98, Win ME, Win XP, Win Vista & Win 7 ?? Krist Java 6 05-06-2010 11:53 PM
Equivalent of TCL's "subst" ? gamename Python 4 11-17-2007 07:11 PM
'subst' is not recognized as an internal or external command,operable program or batch file. ME Computer Information 0 10-16-2007 03:53 PM
subst command or maybe network access issue Chris ASP .Net 1 02-17-2004 05:31 AM
subst and IIS on XP foldface@yahoo.co.uk ASP .Net 2 01-24-2004 08:30 AM



Advertisments