MSInfo32 Report Command Line Option Does Not Give the Filename a .txt Extension Type (261580)



The information in this article applies to:

  • Microsoft Windows Millennium Edition

This article was previously published under Q261580

SYMPTOMS

When you are using Msinfo32 with the report switch, the file name created does not include a .txt file extension by default.

For example, the command msinfo32 /report c:\MyReport results in the file C:\MyReport being created without an extension.

CAUSE

The design of the application allows the file to be saved with the file extension of your choice, such as .txt, .log, or .doc.

RESOLUTION

When using Msinfo32 with the report switch, specify the extension you want.

Example:

Msinfo32 /report c:\MyReport.txt

STATUS

This behavior is by design.

MORE INFORMATION

Msinfo32.exe supports the following command line switches to generate a local or remote system information file:

Syntax: msinfo32.exe [filename] [/?] [/pch] [/nfo outfile]
[report outfile] [/category catname] [/computer computername]

filenameMay be an NFO, PCHealth, TXT, or other type of file
/?Displays the Help dialog box
/pchLaunches in history view
/nfo outfileSilently saves an NFO file to <outfile > and quits
/report outfileSilently saves a file without any extension and quits
/category catnameLaunches with category <catname> selected
/computer computernameLaunches remotely to <computername>

Modification Type:MinorLast Reviewed:1/14/2006
Keywords:kbprb KB261580