ChkINF Command Syntax

The ChkINF scripts are located in the %WindowSdkDir%\Tools\x86\Chkinf subdirectory. To run ChkINF, open a Command Prompt window and navigate to the ChkINF directory. Type chkinf to run the ChkINF.bat file.

Use the following command syntax:


    chkinf {INFFile [INFFile...] | Directory} [/L TextFile] [/B] [/LO] [/DC Options]

   

Parameters

INFFile

Specifies the fully qualified path and file names of one or more INF files. ChkINF verifies the specified files. You can use the wildcard character (*) to specify multiple files, for example, *net.inf.

Directory

Specifies a directory that contain INF Files. ChkINF examines all INF files in the directory. You cannot use the wildcard character (*) in a directory name.

/L TextFile

Creates a results file in text format, in addition to the HTML files. The text file includes results for all INF files that were validated.

TextFile specifies a path and file name for the resulting file. There is no default name or location. If you do not specify a file name, ChkINF does not create a text file.If you do not specify a path, ChkINF creates the text file in the current directory, not in the htm subdirectory with its other output files.

/B

Displays the results when command completes. If ChkINF is validating one INF file, ChkINF displays the results for that INF file. If ChkINF is validating more than one file, it displays the summary of results.

/LO

Determines whether the INF file conforms to the layout rules defined in the layout.inf file. This test is designed for printer INF files and files that are included in Windows.

/DC Options

Specifies the device class-specific options that ChkINF should use when checking INF files. At present, the only supported option is NOFAX, which instructs ChkINF not to check any Fax keys present in modem INF files.

Examples


chkinf c:\windows\inf\ntprint.inf /L d:\dev\ntprint.txt /b


chkinf c:\windows\inf\ntprint.inf c:\windows\inf\flpydisk.inf


chkinf d:\myinfs /b /lo


chkinf c:\windows\inf\*net* /L netinfs.txt /b

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft