WMIC in bat file

  batch-file, command-line, windows, wmic

I have a problem running the wmic script using a bat file.
this is the script

wmic

product where name = "Mozilla Firefox (en-US)" call uninstall / nointeractive

it can’t run the command on line 2, it only displays this

wmic: root  cli>

how to keep all commands run when the administrator runs the bat file

Source: Windows Questions

LEAVE A COMMENT