SUBST command

  • Thread starter Thread starter Andrew
  • Start date Start date
A

Andrew

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.
 
Andrew wrote in
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.
 
Back
Top