🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.misc
Article #1899

SUBST bug and fix

#1899
From: SAC.96BMW-LGSPP
Date: Thu, 17 Nov 1988 21:31
21 lines
1392 bytes
   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!  |
+-----------------+-------------------------------------------------+
Technical Details
Message-ID: <[E.ISI.EDU]17-Nov-88.15:31:29.SAC.96BMW-LGSPP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!ucbvax!E.ISI.EDU!SAC.96BMW-LGSPP

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!ucbvax!E.ISI.EDU!SAC.96BMW-LGSPP
From: SAC.96BMW-LGSPP@E.ISI.EDU
Newsgroups: comp.sys.misc
Subject: SUBST bug and fix
Message-ID: <[E.ISI.EDU]17-Nov-88.15:31:29.SAC.96BMW-LGSPP>
Date: 17 Nov 88 21:31:00 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 21