PC Review


Reply
Thread Tools Rate Thread

SUBST command

 
 
Andrew
Guest
Posts: n/a
 
      30th Sep 2003
I'm attempting to use the SUBST command to get a program
to look in the C: drive rather than A:, as the floppy
drive is not functioning.

The A: drive has been removed in the BIOS.

There are two instances of the SUBST.exe on the
workstation, one in the Winnt folder and one in the I386
folder. Is there a difference between these two files?

The command line I am entering is:

SUBST a: c:[filepath]

When I attempt to run the command using the .exe in the
Winnt folder, I get a "invalid parameter - a:" response.
The executable in the I386 folder does not return an error
message, but the program does not recognize the drive
change.

I've successfully used the SUBST command in Windows 98
using the same text as above, so any suggestions as to
what I need to do differently for Windows 2000 will be
greatly appreciated.
 
Reply With Quote
 
 
 
 
Ritchie
Guest
Posts: n/a
 
      30th Sep 2003
"Andrew" <(E-Mail Removed)> wrote in message news:082501c38786$4d0841a0$(E-Mail Removed)...
> SUBST a: c:[filepath]


Did you try:-

SUBST x: a:\

where x is an unused drive letter (and within the range specified by
the LASTDRIVE variable).

--
Ritchie, undo for mail


 
Reply With Quote
 
Mark V
Guest
Posts: n/a
 
      1st Oct 2003
Andrew wrote in news:082501c38786$4d0841a0$(E-Mail Removed):

> I'm attempting to use the SUBST command to get a program
> to look in the C: drive rather than A:, as the floppy
> drive is not functioning.
>
> The A: drive has been removed in the BIOS.
>
> There are two instances of the SUBST.exe on the
> workstation, one in the Winnt folder and one in the I386
> folder. Is there a difference between these two files?


The one in <source>\i386 is likely compressed and is SUBST.EX_
The one in ...\ServicePackFiles\i386\ and ...\DLLCACHE\ should be
identical to the %systemroot%\system32\. There is not normaly a
SUBST.EXE in the "WINNT" folder at all. There may be an older version
stored in ...\$NtServicePackUninstall$\

Check the version information of each non-compressed file.
W2K, SP4:
subst.exe is version 5.0.2195.6605 (5.021956605)

> The command line I am entering is:
>
> SUBST a: c:[filepath]
>


C:\TEMP>subst /?
Associates a path with a drive letter.

SUBST [drive1: [drive2:]path]
SUBST drive1: /D

drive1: Specifies a virtual drive to which you want to assign
a path.
[drive2:]path Specifies a physical drive and path you want to
assign to
a virtual drive.
/D Deletes a substituted (virtual) drive.

Type SUBST with no parameters to display a list of current virtual
drives.

"filepath" is not an option. Only Drive or Drive and Directory.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
DOS 'Subst' Command John P. Windows XP General 6 27th Feb 2005 06:53 PM
DOS subst command Bob Appleby Windows XP Basics 4 18th Sep 2004 09:59 PM
subst command Robbie Niblock Windows XP General 6 5th Aug 2004 06:50 PM
subst command kvcpa Windows XP General 3 24th Oct 2003 09:38 AM
subst command Andy Windows XP General 0 22nd Aug 2003 11:21 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:35 PM.