[comp.os.msdos.misc] Subst Command

opergb@uvm.edu (Gary Bushey) (01/01/91)

I am trying to get our ATT 386sx/EL computers to think that the A drive is the
B drive during boot up so that people can't boot off of the floppy.

I have been able to do this by switching cables and changing the setup so
the computer thinks it has a B drive.

the problem is that to get the B drive to become the A drive (this is done
so that novice users are not confused), we have to use the SUBST command from
DOS.  The problem arises in that there must be a diskette in the drive in order
to substitute it.  We have been able to get around the error which states there
is no diskette present but SUBST returns the error that the path is not found.  

Does anyone know how SUBST works so that we may write a psuedo command to
subst the B drive for the A drive?

advTHANKSance

Gary Bushey
StarLAN Administrator
opergb@newton.uvm.edu

jsilva@cogsci.berkeley.edu (John Silva) (01/01/91)

In article <1990Dec31.204151.5378@uvm.edu> opergb@uvm.edu writes:
>...
>Does anyone know how SUBST works so that we may write a psuedo command to
>subst the B drive for the A drive?
>
>Gary Bushey
>StarLAN Administrator
>opergb@newton.uvm.edu

Use 'assign a=b' rather than subst.  This will direct all references to drive
A to drive B.

-J.

John P. Silva                                 "I drank WHAT?!"
Inova Products, Inc.                 Internet: jsilva@cogsci.berkeley.edu
(415)222-9255                          Usenet: ucbvax!cogsci!jsilva

mdb@abcom.ATT.COM (049nr Tim Peterson x2264 ) (01/03/91)

From article <1990Dec31.204151.5378@uvm.edu>, by opergb@uvm.edu (Gary Bushey):
> I am trying to get our ATT 386sx/EL computers to think that the A drive is the
> B drive during boot up so that people can't boot off of the floppy.
> 
> I have been able to do this by switching cables and changing the setup so
> the computer thinks it has a B drive.
> 
It has been a long time but have you explored the assign command?  I 
think it goes something like

	assign a=b

I am not sure of the exact syntax since by manual is not handy.

Hope this helps.

Mike Barnes.

dahlstr@hus.chalmers.se (Gunnar Dahlstrom) (01/03/91)

In article <1990Dec31.204151.5378@uvm.edu> opergb@uvm.edu (Gary Bushey) writes:
>Raymond-Protection: enabled
>
>I am trying to get our ATT 386sx/EL computers to think that the A drive is the
>B drive during boot up so that people can't boot off of the floppy.
>
>I have been able to do this by switching cables and changing the setup so
>the computer thinks it has a B drive.
>
>the problem is that to get the B drive to become the A drive (this is done
>so that novice users are not confused), we have to use the SUBST command from
>DOS.  The problem arises in that there must be a diskette in the drive in order
>to substitute it.  We have been able to get around the error which states there
>is no diskette present but SUBST returns the error that the path is not found.  
>
>Does anyone know how SUBST works so that we may write a psuedo command to
>subst the B drive for the A drive?

Why not try the assign command ? I use assign when i install program from B: drive but the install program expect to find itself in A:, so try assign B=A.


===============================================================================
				Gunnar Dahlstrom
			Chalmers University of Technology
			    Div. Building Technology
			   412 96 Gothenbourg, Sweden
			E-Mail: dahlstr@hus.chalmers.se
===============================================================================