Skip to content

VERIFY command in Windows

The VERIFY command in Windows is used to verify the integrity of copied or transferred files. This command compares the original file with the copied file to ensure that the data was accurately copied without any errors. By using the VERIFY command, you can ensure the reliability and accuracy of your file transfers in Windows.

Terminal window
VERIFY [ON | OFF]
OptionDescription
ONEnables verification of MS-DOS system files.
OFFDisables verification of MS-DOS system files.

There are no parameters for the VERIFY command.

Terminal window
verify C:\example\file.txt

Verifies the integrity of the specified file.

Terminal window
verify C:\example\file1.txt C:\example\file2.txt

Verifies the integrity of multiple specified files.

Terminal window
verify C:\example\*

Verifies the integrity of all files in the specified directory.

Terminal window
verify /s C:\example\*.*

Recursively verifies the integrity of files in the specified directory and all its subdirectories.

Terminal window
verify /q C:\example\file.txt

Verifies the integrity of the specified file quietly without displaying any output.

Terminal window
verify /l C:\example\file.txt

Verifies the specified file and logs the results to a file.

Terminal window
verify /b C:\example\file1.txt C:\example\file2.txt

Verifies multiple specified files and logs the results to a file.

Terminal window
verify C:\example\*.txt

Verifies the integrity of all files with the .txt extension in the specified directory.

To use the verify command in Windows, execute the following command:

Terminal window
verify

What is the purpose of the verify command in Windows CMD?

Section titled “What is the purpose of the verify command in Windows CMD?”

The verify command in Windows CMD is used to determine whether files are written correctly to a disk.

How can I enable file verification in Windows CMD?

Section titled “How can I enable file verification in Windows CMD?”

To enable file verification in Windows CMD, use the following command:

Terminal window
verify on

How do I disable file verification in Windows?

Section titled “How do I disable file verification in Windows?”

To disable file verification in Windows CMD, use the following command:

Terminal window
verify off

Can I display the current status of file verification in Windows CMD?

Section titled “Can I display the current status of file verification in Windows CMD?”

Yes, you can display the current status of file verification in Windows CMD using the following command:

Terminal window
verify

How do I set the file verification process to verify all writes in Windows CMD?

Section titled “How do I set the file verification process to verify all writes in Windows CMD?”

To set the file verification process to verify all writes in Windows CMD, use the following command:

Terminal window
verify all

What does the “verify all” option do in Windows CMD?

Section titled “What does the “verify all” option do in Windows CMD?”

The “verify all” option in Windows CMD sets the file verification process to verify every write to a disk.

How do I verify only unverified files in Windows CMD?

Section titled “How do I verify only unverified files in Windows CMD?”

To verify only unverified files in Windows CMD, use the following command:

Terminal window
verify new

Can I view detailed information about the verify command options in Windows CMD?

Section titled “Can I view detailed information about the verify command options in Windows CMD?”

Yes, you can view detailed information about the verify command options in Windows CMD using the following command:

Terminal window
verify /?
  • Verifies the integrity of the files on a disk.