Welcome to Tech Tips 4 U                             

PLEASE CLICK HERE TO VISIT OUR FRIENDS AT:


 

 

How do I use the deltree command to clear my hard drive?


Software KB

kb# SW00022
     ***WARNING - RUNNING THIS SCRIPT WILL DELETE EVERYTHING ON THAT IS NOT IN MY DOCUMENTS, THAT MEANS EVERYTHING. PROGRAMS, DOCUMENTS, PICTURES, LETTERS, EMAIL, EVERYTHING. Make sure you have backup media before you continue like a Windows cd, driver cd, programs, and backup your data first*** 

     Boot to a Windows boot disk and use the following script.


When you boot to the Windows boot disk you will be at a "a" prompt.
Type "c:" and hit enter
Type "cd windows" and hit enter
Type "smartdrv" and hit enter
Type "cd\" and hit enter
Type "copy c:\windows\command\deltree.exe" and hit enter
You will see "1 file(s) copied"
Type "deltree /y c:\windows" and hit enter
Type "deltree /y c:\progra~1" and hit enter
Now you can install Windows

 

 



 

 

This page was last modified on 03/02/08

 

 

 

 

 

Please tell us what you think.

Did this article help resolve your issue?

Yes, helped very much.

No, didn't help at all.

N/A, didn't apply to my issue.

Comments:

 

Recommend This Site

Your Name:

Your Email:

Friends Name:

Friends Email:

Personal note for your friend:

Send me a copy of what is sent to my friend. (recommended)