Windows 10: CMD wmic parameter?

Discus and support CMD wmic parameter? in Windows 10 Network and Sharing to solve the problem; Good morning, I'm practicing again and I'm facing another problem which I can't solve despite Google. I want to use the "wmic volume get... Discussion in 'Windows 10 Network and Sharing' started by Hazo53, Jun 9, 2020.

  1. Hazo53 Win User

    CMD wmic parameter?


    Good morning,

    I'm practicing again and I'm facing another problem which I can't solve despite Google. I want to use the "wmic volume get Driveletter" to read the drive letter of a drive named:"test". But I can't get it to set the parameters so that only the drive:test is queried. The whole thing is for a batch script.

    Many thanks in advance

    :)
     
    Hazo53, Jun 9, 2020
    #1
  2. ryanly Win User

    GPU-Z what command line parameter ?

    Current /? (-?) or / help (-help) parameter is invalid
     
    ryanly, Jun 9, 2020
    #2
  3. DavidY Win User
    Option 5 - wmic


    Hey Shawn

    If I use Option 5, it doesn't seem to work out quite the same way as it does in your screenshot.

    If I type "wmic product get name" in step 2, then I end up back at the command prompt. See my screeenshot.

    CMD wmic parameter? [​IMG]


    But in your screenshot you seem to end up at "wmic:root\cli>".

    This means that if I type "product where name=”name of program” call uninstall" as step 4, I just get an error saying 'Product' is not recognised as a command, I guess because I'm back at a command prompt and not within wmic?

    I suspect that typing "wmic" on its own before step 4 would make it work out?

    Or maybe this command would work directly from a command prompt? (I've not tried this yet.)

    "wmic product where name=”name of program” call uninstall"
     
    DavidY, Jun 9, 2020
    #3
  4. CMD wmic parameter?

    Windows and CMD- renaming a file in CMD

    Steps I've done

    Here what happens


    • turn on PC

    • start windows

    • get blue screen ( message NTFS file)

    • it reboots returns to diagnosing PC

    • Diagnose and repair fails

    • I move to advance options

    • will not reset windows , I click on CMD

    things I've tried
    commands:

    reagentc /disable

    reagentc /enable

    *************************FAILED
    not recognized
    **********************************

    Please advise


     
    RandallBrock, Jun 9, 2020
    #4
Thema:

CMD wmic parameter?

Loading...
  1. CMD wmic parameter? - Similar Threads - CMD wmic parameter

  2. Hi everyone trying to use wmic csproduct get uuid command in CMD and Error is " 'wmic' is...

    in Windows 10 Gaming
    Hi everyone trying to use wmic csproduct get uuid command in CMD and Error is " 'wmic' is...: Is anyone facing similar problem? https://answers.microsoft.com/en-us/windows/forum/all/hi-everyone-trying-to-use-wmic-csproduct-get-uuid/b7e69ad9-fe2a-4de6-8f73-8b67a3a13214
  3. Hi everyone trying to use wmic csproduct get uuid command in CMD and Error is " 'wmic' is...

    in Windows 10 Software and Apps
    Hi everyone trying to use wmic csproduct get uuid command in CMD and Error is " 'wmic' is...: Is anyone facing similar problem? https://answers.microsoft.com/en-us/windows/forum/all/hi-everyone-trying-to-use-wmic-csproduct-get-uuid/b7e69ad9-fe2a-4de6-8f73-8b67a3a13214
  4. Question regarding WMIC

    in Windows 10 Gaming
    Question regarding WMIC: I'm looking to upgrade my laptop RAM ASUS X441BA, so I want to check my capacity first.I typed in on cmd:wmic memphysical get MaxCapacity, MemoryDevices I got the outputMaxCapacity MemoryDevices 4194304 2What does this mean?Do I have 4194304 kilobytes 4.1GB to fit in within 2...
  5. Question regarding WMIC

    in Windows 10 Software and Apps
    Question regarding WMIC: I'm looking to upgrade my laptop RAM ASUS X441BA, so I want to check my capacity first.I typed in on cmd:wmic memphysical get MaxCapacity, MemoryDevices I got the outputMaxCapacity MemoryDevices 4194304 2What does this mean?Do I have 4194304 kilobytes 4.1GB to fit in within 2...
  6. Question regarding WMIC

    in Windows 10 Customization
    Question regarding WMIC: I'm looking to upgrade my laptop RAM ASUS X441BA, so I want to check my capacity first.I typed in on cmd:wmic memphysical get MaxCapacity, MemoryDevices I got the outputMaxCapacity MemoryDevices 4194304 2What does this mean?Do I have 4194304 kilobytes 4.1GB to fit in within 2...
  7. How do I get exact CPU temps using CMD/WMIC?

    in Windows 10 Gaming
    How do I get exact CPU temps using CMD/WMIC?: I am busy making a program to check what the CPU temperature is so that I can get notified and save my work in order to shut down the laptop and let it cool down. I started testing if this works and used this command with admin privileges: :start sleep 1 cls for /f "skip=1...
  8. How do I get exact CPU temps using CMD/WMIC?

    in Windows 10 Software and Apps
    How do I get exact CPU temps using CMD/WMIC?: I am busy making a program to check what the CPU temperature is so that I can get notified and save my work in order to shut down the laptop and let it cool down. I started testing if this works and used this command with admin privileges: :start sleep 1 cls for /f "skip=1...
  9. Psexec with cmd parameters?

    in Windows 10 Network and Sharing
    Psexec with cmd parameters?: Hi All, I am trying to run a command on a remote computer using psexec, and I can get it to run fine by just calling the .exe, but I also need to have 2 parameters included in the command, but I can't get it to work. Here is my example: I can run this fine: psexec.exe -i...
  10. Powershell with CMD/c to run external command with Parameters

    in Windows 10 Customization
    Powershell with CMD/c to run external command with Parameters: Greeting, I have an old command line application call Commandline.exe. it run with a parameter to check then show the result. but it need extra "Enter" to confirm like: commandline.exe -s 4567890 So I preparing the an answer file which is on an "Enter" crlf...