Computer Hope
Microsoft => Microsoft DOS => Topic started by: Aditi gupta on August 06, 2014, 12:43:33 AM
-
Hi ,
Can anyone guide me, in creating a barch file.
Which will search for Programs and features of every system and give me the details of nam and version of proframs and features installed.
Basically i want to capture all the data of programs and features in to and xml file.
We can use command appwiz.cpl also, to directly go to the desired patha nd then capture all the data.
Thanks in advance.
-
You cannot use xml files with batch, look into VBscript or Jscript.
-
Logic will be in batch file and then redirecting the output in xml file.
this can be using batch file.
To run this batch file baground, i will call batch via VB script.
Then my purpose will be solved.
So i just need the logic, to capture the output of appwiz.cpl/ program files
-
So i just need the logic, to capture the output of appwiz.cpl/ program files
Can't be done with batch.
-
To run this batch file baground, i will call batch via VB script.
Then why didn't you search Google for a Vbscript solution. Here is what I found.
http://www.vbsedit.com/scripts/apps/user/scr_226.asp