run command: wmic useraccount get name,sid


  1. Posts : 19
    Window 7x64 Professional
       #1

    run command: wmic useraccount get name,sid


    When I run this command all I see is a quick flash for SID,s and I need to know how to pause the screen and probably also be able to print the results.

    What is the correct way to pause and print the resulting list?
      My Computer


  2. Posts : 10,485
    W7 Pro SP1 64bit
       #2

    Option 1:
    open the cmd prompt window
    type the command in
    hit enter

    Option 2:
    create a batch file (text file)
    wmic useraccount get name,sid
    pause
    save that as test.bat
    run it

    Option 3:
    create a batch file (text file)
    wmic useraccount get name,sid > "%userprofile%\Desktop\Test.txt"
    save that as test.bat
    run it
    locate/open test.txt on the desktop

    There are other ways too - but that should do for now

    edit:
    There is probably a way to sent the info to a printer from the command prompt
    I just don't know how to do that :-(
      My Computer


  3. Posts : 19
    Window 7x64 Professional
    Thread Starter
       #3

    Issue Solved


    Thanks, I was typing the command using the run box. Now I know to type CMD and then enter the command.
    Used print screen and pasted into a Photoshop document and printed from Photoshop.

    Thanks, Floyd.
      My Computer


  4. Posts : 10,485
    W7 Pro SP1 64bit
       #4

    Glad to help.

    You could print it as text from notepad too after option 2
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:38.
Find Us