OS and Software Operations

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > OS and Software >

 OS and Software Operations

GEN. - Get-EXE-Number

Previous Top Next


MiniRobotLanguage (MRL)

 

GEN. Command

Get Exe Number

 

 

Intention

 

Get the number of times an EXE-File is actually being executed.

 

Assume there are two x64.exe running. The task-manager will show them:

 

graphic

 

Then you call the script:

 

GEN.x64.exe|$$CNT

MBX.$$CNT

ENR.

 

and you get this result (see picture below).

 

graphic

 

 

 

 

Syntax

 

 

GEN.[P1][|P2]

 

 

Parameter Explanation

 

P1 - Filename with or without path, pattern possible

P2 - Variable to return the result

 

 

 

 

Example

 

'***********************************

' GEN.-Demo

'***********************************

GEN.x64.exe|$$CNT

MBX.$$CNT

END.

 

 

 

Remarks

 

x64 tested.

 

 

Limitations:

 

-

 

 

 

See also:

 

    1.7. Application and PID

    GPI. - Get Process Information

    IEP. / NEAP. - If-Exists-Process

    FEP. - For-Each-Process

    WPR. - Wait-Process-Running

    WPT. - Wait-Process-Termination

    3.3 Specialfolders