Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: batch file to give the output of programs and features with name, version detail  (Read 4243 times)

0 Members and 1 Guest are viewing this topic.

Aditi gupta

    Topic Starter


    Rookie

    • Experience: Experienced
    • OS: Windows 7
    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.

    Lemonilla



      Apprentice

    • "Too sweet"
    • Thanked: 70
    • Computer: Specs
    • Experience: Experienced
    • OS: Windows 7
    You cannot use xml files with batch, look into VBscript or Jscript.
    Quote from: patio
    God Bless the DOS Helpers...
    Quote
    If it compiles, send the files.

    Aditi gupta

      Topic Starter


      Rookie

      • Experience: Experienced
      • OS: Windows 7
      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

      Squashman



        Specialist
      • Thanked: 134
      • Experience: Experienced
      • OS: Other
      So i just need the logic, to capture the output of appwiz.cpl/ program files
      Can't be done with batch.

      Squashman



        Specialist
      • Thanked: 134
      • Experience: Experienced
      • OS: Other
      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