Home Web Front-end JS Tutorial List Information About the Binary Files Used by an Application_javascript技巧

List Information About the Binary Files Used by an Application_javascript技巧

May 16, 2016 pm 07:12 PM
an files list the

Description
Returns the name and product code of binary information (such as bitmaps, icons, executable files, and so on) used by a Windows Installer application.  Script Code

复制代码 代码如下:

var wbemFlagReturnImmediately = 0x10; 
var wbemFlagForwardOnly = 0x20; 

   var objWMIService = GetObject("winmgmts:\\.\root\CIMV2"); 
   var colItems = objWMIService.ExecQuery("SELECT * FROM Win32_Binary", "WQL", 
                                          wbemFlagReturnImmediately | wbemFlagForwardOnly); 

   var enumItems = new Enumerator(colItems); 
   for (; !enumItems.atEnd(); enumItems.moveNext()) { 
      var objItem = enumItems.item(); 

      WScript.Echo("Caption: "   objItem.Caption); 
      WScript.Echo("Data: "   objItem.Data); 
      WScript.Echo("Description: "   objItem.Description); 
      WScript.Echo("Name: "   objItem.Name); 
      WScript.Echo("Product Code: "   objItem.ProductCode); 
      WScript.Echo("Setting ID: "   objItem.SettingID); 
      WScript.Echo(); 
   } 
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

After 2 months, the humanoid robot Walker S can fold clothes After 2 months, the humanoid robot Walker S can fold clothes Apr 03, 2024 am 08:01 AM

Editor of Machine Power Report: Wu Xin The domestic version of the humanoid robot + large model team completed the operation task of complex flexible materials such as folding clothes for the first time. With the unveiling of Figure01, which integrates OpenAI's multi-modal large model, the related progress of domestic peers has been attracting attention. Just yesterday, UBTECH, China's "number one humanoid robot stock", released the first demo of the humanoid robot WalkerS that is deeply integrated with Baidu Wenxin's large model, showing some interesting new features. Now, WalkerS, blessed by Baidu Wenxin’s large model capabilities, looks like this. Like Figure01, WalkerS does not move around, but stands behind a desk to complete a series of tasks. It can follow human commands and fold clothes

Anbernic confirms release date, specs and pricing for new RG406V retro gaming handheld Anbernic confirms release date, specs and pricing for new RG406V retro gaming handheld Sep 13, 2024 am 09:15 AM

Anbernic appears set to maintain its monthly gaming handheld release schedule for at least another month. Incidentally, it may well introduce a refresh of the RG35XX SP (curr. $89.99 on Amazon) before October rolls around, too.However, its principal

How to implement Redis List operation in php How to implement Redis List operation in php May 26, 2023 am 11:51 AM

List operation //Insert a value from the head of the list. $ret=$redis->lPush('city','guangzhou');//Insert a value from the end of the list. $ret=$redis->rPush('city','guangzhou');//Get the elements in the specified range of the list. 0 represents the first element of the list, -1 represents the last element, and -2 represents the penultimate element. $ret=$redis->l

How to convert JSONArray to List in Java How to convert JSONArray to List in Java May 04, 2023 pm 05:25 PM

1: JSONArray to ListJSONArray string to List//Initialize JSONArrayJSONArrayarray=newJSONArray();array.add(0,"a");array.add(1,"b");array.add(2,"c") ;Listlist=JSONObject.parseArray(array.toJSONString(),String.class);System.out.println(list.to

How to use Files function in Java for file operations How to use Files function in Java for file operations Jun 26, 2023 pm 04:21 PM

In the Java programming language, it is often necessary to perform operations such as reading, writing, copying, and deleting files. Java provides a set of functions of the Files class to perform file operations. This article will introduce how to use the Files function in Java for file operations. Import the required packages. Before performing file operations, you must first import Java's io package and nio package: importjava.io.File;importjava.io.IOException;import

How to sort a list using List.Sort function in C# How to sort a list using List.Sort function in C# Nov 17, 2023 am 10:58 AM

How to sort a list using the List.Sort function in C# In the C# programming language, we often need to sort the list. The Sort function of the List class is a powerful tool designed for this purpose. This article will introduce how to use the List.Sort function in C# to sort a list, and provide specific code examples to help readers better understand and apply this function. The List.Sort function is a member function of the List class, used to sort elements in the list. This function receives

what files are what files are Dec 20, 2023 pm 02:11 PM

"Files" itself is not a specific file type, but a general concept.

What are the common methods of List in Java basics What are the common methods of List in Java basics May 14, 2023 am 10:16 AM

1. Introduction to List interface List is an ordered collection and a repeatable collection. It inherits the Collection interface. Repeated elements can appear in the List collection, and the element at the specified position can be accessed through the index (subscript). 2. List common methods - voidadd (intindex, Obejctelement) method 1. The voidadd (intindex, Obejctelement) method inserts the element element at the specified position and moves the subsequent element back one element. 2.voidadd(intindex,Obejctelemen

See all articles