Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Writing a batch file

$
0
0

I'm trying to write a batch (uninstall.bat) to uninstall a program from a few computers automatically. But I'm not seeing how to get the command line to automatically do this. I know I need to have the below, but how do I get the batch file to execute certain commands? This is what I have:

start cmd.exe

wmic

product where name=”filekeep” call uninstall /nointeractive

So what commands will I use to get the command line to run each script?

Thanks for all the help!


Abdul


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>