WMIC question

Discussion in 'Windows Server' started by JohnB, May 6, 2008.

  1. JohnB

    JohnB Guest

    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
     
    JohnB, May 6, 2008
    #1
    1. Advertisements

  2. JohnB

    JohnB Guest

    Check that, the batch file contains:
    wmic /node:server01 PRODUCT
    /output:c:\test\output.htm
    /format:htable
     
    JohnB, May 6, 2008
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.