I have been working with several .bat files that create and remove shared drives. I was developing a new .bat file, and I probably made syntax mistakes during this development process.
This afternoon I noticed an icon for the "e" drive in "my computer". This icon had a red x through it. I opened a DOS prompt and attempted to delete the faulty connection. DOS thinks that the connection does not exist, but it also thinks that the name "e" is already in use. I want to get rid of the icon with an x through it. How do I do this? I have appended a screen capture.
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:\Documents and Settings\Smith1>net use e:\ /delete
The network connection could not be found.
More help is available by typing NET HELPMSG 2250.
C:\Documents and Settings\Smith1>NET HELPMSG 2250
The network connection could not be found.
EXPLANATION
This network connection does not exist.
ACTION
To display a list of shared resources to which your computer
is connected, type:
NET USE
C:\Documents and Settings\Smith1>NET USE
New connections will be remembered.
There are no entries in the list.
C:\Documents and Settings\Smith1>net use e: \\[server name]\[shared folder name]
System error 85 has occurred.
The local device name is already in use.
C:\Documents and Settings\Smith1>
This afternoon I noticed an icon for the "e" drive in "my computer". This icon had a red x through it. I opened a DOS prompt and attempted to delete the faulty connection. DOS thinks that the connection does not exist, but it also thinks that the name "e" is already in use. I want to get rid of the icon with an x through it. How do I do this? I have appended a screen capture.
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:\Documents and Settings\Smith1>net use e:\ /delete
The network connection could not be found.
More help is available by typing NET HELPMSG 2250.
C:\Documents and Settings\Smith1>NET HELPMSG 2250
The network connection could not be found.
EXPLANATION
This network connection does not exist.
ACTION
To display a list of shared resources to which your computer
is connected, type:
NET USE
C:\Documents and Settings\Smith1>NET USE
New connections will be remembered.
There are no entries in the list.
C:\Documents and Settings\Smith1>net use e: \\[server name]\[shared folder name]
System error 85 has occurred.
The local device name is already in use.
C:\Documents and Settings\Smith1>