EasyManua.ls Logo

VMware THINAPP 4.6 - Getcommandline; Getcurrentprocessname

VMware THINAPP 4.6
146 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ThinApp User’s Guide
122 VMware, Inc.
YoucanretrievethefollowingvaluesfrommostDLLs:
Comments
InternalName
ProductName
CompanyName
LegalCopyright
ProductVersion
FileDescription
LegalTrademarks
PrivateBuild
FileVersion
OriginalFilename
SpecialBuild
Returns
Thisfunctionreturnsastringvalue.Iftherequestedfilenamedoesnotexist,orthefunctioncannotlocatethe
specifiedvalueinthefile,thefunctionreturnsanemptystring(ʺʺ).
Examples
FileVersion = GetFileVersionValue("C:\windows\system32\kernel32.dll," "FileVersion")
if FileVersion = "1.0.0.0" then
MsgBox "This is Version 1.0!"
End if
GetCommandLine
TheGetCommandLinefunctionaccessesthecommandlineparameterspassedtotherunningprogram.
Returns
Thisfunctionreturnsastringthatrepresentsthecommandlineargumentspassedtothecurrentrunning
program,includingtheoriginalexecutablefile.
Examples
MsgBox "The command line for this EXE was " + GetCommandLine
GetCurrentProcessName
TheGetCurrentProcessNamefunctionaccessesthefullvirtualpathnameofthecurrentprocess.
Returns
Thisfunctionreturnsastringthatrepresentsthefullexecutablepathnameinsideofthevirtualenvironment.
Inmostcircumstances,thispathisC:\Program Files\...,evenifthepackagesourcerunsfromanetwork
share.
Examples
MsgBox "Running EXE path is " + GetCurrentProcessName

Table of Contents

Related product manuals