[comp.sys.misc] SUBST bug and fix

SAC.96BMW-LGSPP@E.ISI.EDU (11/18/88)

   For anyone having problem with the DOS SUBST: command:
I have noticed the command has a problem when executing from within a
batch file...and gives the error:
Cannot SUBST a network drive (even when no network is active)
  I have found that if you initailize the command with a VALID drive 
letter A:-C: first, and then execute your command, it will operate clearly,
so that if you HAD:
          SUBST G: C:\bin\dat
You can fix the problem with:
          SUBST B: C:\
          SUBST G: C:\bin\dat
          SUBST B: /d             (To delete the B: substitution)
 
   Hope I helped someone out there:
+-----------------+-------------------------------------------------+
|   _ __   (TFM)  | Richard A. Gautier, Airman First Class, USAF    |
|  ' )  )      /  | ARPA: SAC.96BMW-LGSPP@e.isi.edu                 |
|   /--' o _. /_  | Work: 915-696-4946  Play: 915-695-3406          |
|  /  \_<_(__/ /_ | Programmers never die, they just get debugged!  |
+-----------------+-------------------------------------------------+