28

I created a virtual drive using "SUBST" command . But i can not delete now .

Can anybody tell me how can I delete this virtual drive.

44

If using the command SUBST X: /D does not work then try rem or delete the occurrence of the SUBST command in the autoexec.bat file & reboot.

If using Windows 7, try to open your prompt window as Administrator and then run the SUBST X: /D normally

  • 2
    Windows 7 does not read autoexec.bat. – grawity Jan 24 '13 at 15:01
  • It does read it under some circumstances – Linger Jan 24 '13 at 19:52
10

After doing a Google search (taking less than a minute) I found this:

SUBST X: /D

where X is the SUBST drive

  • 14
    let me quote this SO comment: Imagine you google for a question, and the first search result that comes up is a StackOverflow post for exactly the question you need. So you click on it, read the answer... and what does it say? “Just google for it!” – nixda Jan 24 '13 at 15:17

protected by Community Jun 27 '16 at 17:38

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.