Guest JohnB Posted May 6, 2008 Posted May 6, 2008 I don't see a specific group for WMIC questions so I'm trying this one.... I'm trying/playing with WMIC for the first time. I want to see a list of installed software on a local computer, and output the list to an html file. In a batch file I have these commands: wmic /node:server01 os assoc /output:c:\test\output.htm /format:htable The batch file runs and the list of installed software scrolls by on the screen but, the batch file ends with 2 error messages, both saying: The filename, directory name, or volume label syntax is incorrect. What is wrong with my syntax? Thanks
Guest JohnB Posted May 6, 2008 Posted May 6, 2008 Re: WMIC question Check that, the batch file contains: wmic /node:server01 PRODUCT /output:c:\test\output.htm /format:htable "JohnB" <jbrigan@yahoo.com> wrote in message news:uHCkkR5rIHA.1220@TK2MSFTNGP04.phx.gbl... >I don't see a specific group for WMIC questions so I'm trying this one.... > > I'm trying/playing with WMIC for the first time. I want to see a list of > installed software on a local computer, and output the list to an html > file. > > In a batch file I have these commands: > wmic /node:server01 os assoc > /output:c:\test\output.htm > /format:htable > > The batch file runs and the list of installed software scrolls by on the > screen but, the batch file ends with 2 error messages, both saying: > The filename, directory name, or volume label syntax is incorrect. > > What is wrong with my syntax? > > Thanks >
Recommended Posts