Jump to content

Defrag Hard Drive from .bat file


kristell

Recommended Posts

I am trying to speed up hubbys computer and have gone through all the processes mentioned in the 'stickied' post. However, when I get to this bit:

Defragment your Hard Drive:

Please copy and paste the following text in the Code box exactly as written into notepad (not wordpad or any other text editor):

defrag "%systemdrive%"

del /f /q %0

Once you've done that click on File and select Save As...

In the Save dialogue box click on the drop down menu next to Save as type and select All Files

Name the file defrag.bat (the .bat extension is very important)

Save the file to your desktop and double click it to run it if running Windows XP. If running Windows Vista or Windows 7 you must right-click on the file and choose Run as administrator

All that happens is the black dos box just keeps flickering with the message :

c:\documents and settings \ hubbys name\destop >defrag"C:"

but doesn't actually seem to be doing anything!!

Regards.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
Back to top
×
×
  • Create New...

Important Information

This site uses cookies - We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.