Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

auromate chkdsk in xp

Featured Replies

I made batch file to be run with the Schsduler for chkdsk.exe once a month, only it ask for an answer "Y/N"

How to insert the answer "y" in the batch fie?

Thnks


You could try using fsutil to set the dirty bit to invoke chkdsk.

fsutil dirty set c:

You can change c: to the drive of your choice.

I haven't done this in years, but I think it was:

Echo /y > chkdsk

or maybe it was:

Echo /y | chkdsk

It then passes the /y entry off to the program after the > symbol.

If I'm wrong, I know someone will jump on an opportunity to correct me. That never fails. :thumbup

How soon we forget how to do things like program in DOS, when we don't use it often.

I still write and use batch files on a daily basis,,,,I just don't use that command.

Good Luck,

Andromeda43

Edited by Andromeda43

I just tried chkdsk in a batch file and it ran without asking me any questions.

What question does it ask you?

And are you using any switches after chkdsk? Here's the list:

Checks a disk and displays a status report.

CHKDSK [volume[[path]filename]]] [/F] [/V] [/R] [/X] [/C] [/L[:size]]

volume Specifies the drive letter (followed by a colon),

mount point, or volume name.

filename FAT/FAT32 only: Specifies the files to check for fragmentation.

/F Fixes errors on the disk.

/V On FAT/FAT32: Displays the full path and name of every file

on the disk.

On NTFS: Displays cleanup messages if any.

/R Locates bad sectors and recovers readable information

(implies /F).

/L:size NTFS only: Changes the log file size to the specified number

of kilobytes. If size is not specified, displays current

size.

/X Forces the volume to dismount first if necessary.

All opened handles to the volume would then be invalid

(implies /F).

/I NTFS only: Performs a less vigorous check of index entries.

/C NTFS only: Skips checking of cycles within the folder

structure.

The /I or /C switch reduces the amount of time required to run Chkdsk by

skipping certain checks of the volume.

*************************

I'm really curious about that error message.

Cheers,

Andromeda43

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.