PDA

View Full Version : chkdsk-batch file for 4 parttitions


B&P
June 8th 04, 09:45 PM
i want to make a batch file to run on startup, that is an icon on the
desktop i can click when i want to run chkdsk. i want to use the /f
switch so it will auto fix. there are 4 partitions. is it possible to
have xp-pro do this on start up, and check all four partitions with the
f switch at the same time. if so, what would the exact commands be in
the shortcut on the desktop?

thanks much
bob

Carey Frisch [MVP]
June 8th 04, 10:41 PM
Checkdisk is only useful for checking Windows XP system file
errors and correcting them. Therefore it is only useful to use
with the partition that Windows XP is actually installed on.

CHKNTFS.EXE: What You Can Use It For
http://support.microsoft.com/?kbid=160963

Chkdsk in Read-Only Mode Does Not Detect Corruption on NTFS Volume
http://support.microsoft.com/default.aspx?scid=kb;en-us;q283340

Also see:
http://www.kellys-korner-xp.com/xp_c.htm#cd


--
Carey Frisch
Microsoft MVP
Windows XP - Shell/User

Be Smart! Protect your PC!
http://www.microsoft.com/security/protect/

------------------------------------------------------------------------------------

"B&P" > wrote in message:
...

|i want to make a batch file to run on startup, that is an icon on the
| desktop i can click when i want to run chkdsk. i want to use the /f
| switch so it will auto fix. there are 4 partitions. is it possible to
| have xp-pro do this on start up, and check all four partitions with the
| f switch at the same time. if so, what would the exact commands be in
| the shortcut on the desktop?
|
| thanks much
| bob
|

B&P
June 8th 04, 11:41 PM
What util. do we use then to check and repair errors on other
partitions,(as in my case D-E-F-), as I did in 98se.

Carey Frisch [MVP] wrote:
> Checkdisk is only useful for checking Windows XP system file
> errors and correcting them. Therefore it is only useful to use
> with the partition that Windows XP is actually installed on.
>
> CHKNTFS.EXE: What You Can Use It For
> http://support.microsoft.com/?kbid=160963
>
> Chkdsk in Read-Only Mode Does Not Detect Corruption on NTFS Volume
> http://support.microsoft.com/default.aspx?scid=kb;en-us;q283340
>
> Also see:
> http://www.kellys-korner-xp.com/xp_c.htm#cd
>
>

David Candy
June 9th 04, 12:41 AM
What a load of utter rubbish.

--=20
----------------------------------------------------------
http://home.comcast.net/~wizardofwhimsy/index.html
"Carey Frisch [MVP]" > wrote in message =
...
> Checkdisk is only useful for checking Windows XP system file
> errors and correcting them. Therefore it is only useful to use
> with the partition that Windows XP is actually installed on.
>=20
> CHKNTFS.EXE: What You Can Use It For
> http://support.microsoft.com/?kbid=3D160963
>=20
> Chkdsk in Read-Only Mode Does Not Detect Corruption on NTFS Volume
> http://support.microsoft.com/default.aspx?scid=3Dkb;en-us;q283340
>=20
> Also see:
> http://www.kellys-korner-xp.com/xp_c.htm#cd
>=20
>=20
> --=20
> Carey Frisch
> Microsoft MVP
> Windows XP - Shell/User
>=20
> Be Smart! Protect your PC!
> http://www.microsoft.com/security/protect/
>=20
> =
-------------------------------------------------------------------------=
-----------
>=20
> "B&P" > wrote in message:
> ...
>=20
> |i want to make a batch file to run on startup, that is an icon on the
> | desktop i can click when i want to run chkdsk. i want to use the /f
> | switch so it will auto fix. there are 4 partitions. is it possible =
to
> | have xp-pro do this on start up, and check all four partitions with =
the
> | f switch at the same time. if so, what would the exact commands be =
in
> | the shortcut on the desktop?
> |=20
> | thanks much
> | bob
> |

Rick \Nutcase\ Rogers
June 9th 04, 04:41 AM
Carey,

Chkdsk is used to verify the integrity of the file system on a given
partition, not the integrity of the system files. You may be confusing this
with sfc. It is useful on any partition where there is a possible problem
with the file system integrity. It is not limited to the partition where the
system is installed.

An Explanation of CHKDSK and the New /C and /I Switches
http://support.microsoft.com/?kbid=187941

Bob, there is no reason whatsoever to run chkdsk on every boot. Schedule it
to run when there is a problem, otherwise leave the drive alone.

--
Best of Luck,

Rick Rogers aka "Nutcase" MS-MVP - Windows
Windows isn't rocket science! That's my other hobby!
http://mvp.support.microsoft.com/
Associate Expert - WinXP - Expert Zone
www.microsoft.com/windowsxp/expertzone
Win98 Help - www.rickrogers.org

"Carey Frisch [MVP]" > wrote in message
...
> Checkdisk is only useful for checking Windows XP system file
> errors and correcting them. Therefore it is only useful to use
> with the partition that Windows XP is actually installed on.
>
> CHKNTFS.EXE: What You Can Use It For
> http://support.microsoft.com/?kbid=160963
>
> Chkdsk in Read-Only Mode Does Not Detect Corruption on NTFS Volume
> http://support.microsoft.com/default.aspx?scid=kb;en-us;q283340
>
> Also see:
> http://www.kellys-korner-xp.com/xp_c.htm#cd
>
>
> --
> Carey Frisch
> Microsoft MVP
> Windows XP - Shell/User
>
> Be Smart! Protect your PC!
> http://www.microsoft.com/security/protect/
>
> --------------------------------------------------------------------------
----------
>
> "B&P" > wrote in message:
> ...
>
> |i want to make a batch file to run on startup, that is an icon on the
> | desktop i can click when i want to run chkdsk. i want to use the /f
> | switch so it will auto fix. there are 4 partitions. is it possible to
> | have xp-pro do this on start up, and check all four partitions with the
> | f switch at the same time. if so, what would the exact commands be in
> | the shortcut on the desktop?
> |
> | thanks much
> | bob
> |

Pop
June 9th 04, 05:42 PM
"David Candy" > wrote in message
...
What a load of utter rubbish.
THAT CANDY-ASSED CANDY CAN PUT OUT! etpi8nva9p8nvati8nvt?
STOP BREATHING MY AIR!

<g>
Pop

David Candy
June 9th 04, 05:42 PM
You and Carey are alike, prefer to give gobblygook rather than do the =
hard work.

--=20
----------------------------------------------------------
http://home.comcast.net/~wizardofwhimsy/index.html
"Pop" > wrote in message =
...
>=20
> "David Candy" > wrote in message
> ...
> What a load of utter rubbish.
> THAT CANDY-ASSED CANDY CAN PUT OUT! etpi8nva9p8nvati8nvt?
> STOP BREATHING MY AIR!
>=20
> <g>
> Pop
>=20
>

Tom
June 9th 04, 09:46 PM
"Carey Frisch [MVP]" > wrote in message
...
> Checkdisk is only useful for checking Windows XP system file
> errors and correcting them. Therefore it is only useful to use
> with the partition that Windows XP is actually installed on.
>
> CHKNTFS.EXE: What You Can Use It For
> http://support.microsoft.com/?kbid=160963
>
> Chkdsk in Read-Only Mode Does Not Detect Corruption on NTFS Volume
> http://support.microsoft.com/default.aspx?scid=kb;en-us;q283340
>
> Also see:
> http://www.kellys-korner-xp.com/xp_c.htm#cd
>
>
> --
> Carey Frisch
> Microsoft MVP
> Windows XP - Shell/User

Maybe you should read that KB article Carey, instead of just linking things
you "think" are the way you say they are! You obviously do not know
everything in how CHKDSK works (as well as XP period), as it is used to
perform the functions it does on any partition, not just the system
partition.

> Be Smart! Protect your PC!
> http://www.microsoft.com/security/protect/
>

Be smart, learn about Windows before posting your technocrap!

Google