Andy Caus wrote:
>
> You should ALWAYS use:
>
> if exist <driveletter> net use <driveletter> /d
>
> before you use "net use" in such a script.
>

This will not catch a SUBST entry, though.  You could also add the
line to be sure:

   if exist H: subst H: /d

Good day,

--
Daniel B. Harter     [EMAIL PROTECTED]   The MITRE Corporation
Phone: 703-883-5541  Fax: 703-883-3315

Reply via email to