1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Chkdsk

Discussion in 'Windows XP' started by Rockit, 2004/01/17.

Thread Status:
Not open for further replies.
  1. 2004/01/17
    Rockit

    Rockit Inactive Thread Starter

    Joined:
    2003/03/23
    Messages:
    464
    Likes Received:
    0
    CHKDSK created a folder after finding some errors and named it found.000. I cannot delete this folder cause everytime I try I get the error message that it is a invalid directory name? I've tried renameing the folder and safe mode also tried deleting it from the recovery console .. no luck .. I've also tried changing the folder attributes but they just change back to what they were. Any help will be greatly appreciated.

    Thanks
     
  2. 2004/01/17
    Abraxas

    Abraxas Inactive

    Joined:
    2002/08/16
    Messages:
    2,361
    Likes Received:
    3

  3. to hide this advert.

  4. 2004/01/17
    Rockit

    Rockit Inactive Thread Starter

    Joined:
    2003/03/23
    Messages:
    464
    Likes Received:
    0
    It's not a file its a empty folder
     
  5. 2004/01/17
    Rockit

    Rockit Inactive Thread Starter

    Joined:
    2003/03/23
    Messages:
    464
    Likes Received:
    0
    Ok .. Once I targeted the sub folder that little utility worked.

    Thanks Allot
     
  6. 2004/01/17
    Abraxas

    Abraxas Inactive

    Joined:
    2002/08/16
    Messages:
    2,361
    Likes Received:
    3
    Thanks for the reply.
     
  7. 2004/09/06
    Rockit

    Rockit Inactive Thread Starter

    Joined:
    2003/03/23
    Messages:
    464
    Likes Received:
    0
    Two questions?

    1) What is the default directory for chkdsk.exe?

    2) Is it possible to create a shortcut that will cause the chkdsk utility to run on the next system reboot?

    Thanks
    Rockit
     
  8. 2004/09/06
    Newt

    Newt Inactive

    Joined:
    2002/01/07
    Messages:
    10,974
    Likes Received:
    2
    \system32

    No direct way I know of but if your shortcut were to a .reg file that set the flag marking the drive as dirty, chkdsk should run at next boot.

    It might be possible to do up a batch file that would call chkdsk and put in the various answers needed to force it to run at next boot. I just don't know.
     
    Newt,
    #7
  9. 2004/09/07
    Rockit

    Rockit Inactive Thread Starter

    Joined:
    2003/03/23
    Messages:
    464
    Likes Received:
    0
    Hey Newt,
    If I open up xsetup and select on next boot run chkdsk it does and only run's the 3 step process so It must be possible somehow. If I select scandisk it say's it has to do it on reboot then it runs thru the 5 step process. Thats why I want a shortcut to the quicker chkdsk.

    Thanks
    Rockit
     
  10. 2004/09/07
    Newt

    Newt Inactive

    Joined:
    2002/01/07
    Messages:
    10,974
    Likes Received:
    2
    The usual choices are
    chkdsk /f for a 3 step check
    chkdsk /r for a 5 step to include checking files and drive surface.
     
    Newt,
    #9
  11. 2004/09/07
    Rockit

    Rockit Inactive Thread Starter

    Joined:
    2003/03/23
    Messages:
    464
    Likes Received:
    0
    Ok Newt,
    Heres what I got. A shortcut to

    c:\windows\system32\chkdsk.exe /f

    This pops up a dos window and asks me if I want to run it on the next boot. So I hit the "Y" key and the window closes.

    Is there a way to auto in the Y so I don't have to type anything?


    Thanks
    Rockit
     
  12. 2004/09/07
    surferdude2

    surferdude2 Inactive

    Joined:
    2004/07/04
    Messages:
    4,009
    Likes Received:
    23
    You'll have to do that using the power of a batch file. Copy the following line to your clipboard and paste it into Notepad. Then save it as CHECK.BAT and store it on your drive root.

    echo y | chkdsk C: /f

    Then create a Desktop shortcut to it for your convenience. When you run this file it will set the Registry to run chkdisk at the next reboot.
     
  13. 2004/09/07
    surferdude2

    surferdude2 Inactive

    Joined:
    2004/07/04
    Messages:
    4,009
    Likes Received:
    23
    I think it's only fair to warn you that allowing chkdsk to automatically "fix" any disk errors can sometimes lead to problems. I always make a good backup copy of any drive that is to be "repaired" to cover that possibility.

    I always run chkdsk in the Windows environment without any switches so as to get some warning before the "fix" is rendered.

    Good luck.
     
  14. 2004/09/07
    Newt

    Newt Inactive

    Joined:
    2002/01/07
    Messages:
    10,974
    Likes Received:
    2
    I've had the occasional system hosed by chkdsk fixes but in each case the drive was so torn up as to be basically useless before the repair.

    I have not found any that were harmed to the point I couldn't use the www.sysinternals.com utility to grab needed data from the drive after a repair attempt went badly.
     
  15. 2004/09/08
    Rockit

    Rockit Inactive Thread Starter

    Joined:
    2003/03/23
    Messages:
    464
    Likes Received:
    0
    Thanks you two .. That did the trick.

    Rockit
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.