Wmic error (invalid XSL format) on windows7

wmic process get /format:csv

What is wrong with this command in Windows 7?

I get:

Invalid file name (s) in XSL format.

+3
source share
3 answers

This is a mistake in the wmic command. It was suggested to copy the XSL files to% WINDIR% \ system32 (or the equivalent if the bit is 64 bits). However, the command below works the same as without copying files:

wmic process get ProcessId, Description, CommandLine, ExecutablePath, ParentProcessId / format: "% WINDIR% \ System32 \ wbem \ en-us \ csv"

Of course, "en-us" will be different for different locales.

, /output: "

+8

Windows 7 WMIC. () Windows, WMIC xsl C:\Windows\System32\wbem\nl-NL C:\Windows\System32\wbem\en-US, .

:

  • C:\Windows\system32\wbem\en-US\*.xsl C:\Windows\system32\wbem\.
  • Windows, .
  • : WMIC process get /format:"%WINDIR%\System32\wbem\en-US\csv".
+3

This is a wmic Windows 7 error. Changing the international settings to English (USA), rebooting and testing.

+2
source

All Articles