How to delete Windows 7 virtual drive

30

5

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.

Arif

Posted 2013-01-24T14:30:58.523

Reputation: 441

Answers

47

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

Linger

Posted 2013-01-24T14:30:58.523

Reputation: 3 126

2Windows 7 does not read autoexec.bat. – user1686 – 2013-01-24T15:01:48.010

It does read it under some circumstances – Linger – 2013-01-24T19:52:36.653

11

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

SUBST X: /D

where X is the SUBST drive

Wes

Posted 2013-01-24T14:30:58.523

Reputation: 539

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 – 2013-01-24T15:17:36.180