5.1

Table Of Contents
ThinApp User’s Guide
88 VMware, Inc.
You can retrieve the following values from most DLLs:
Comments
InternalName
ProductName
CompanyName
LegalCopyright
ProductVersion
FileDescription
LegalTrademarks
PrivateBuild
FileVersion
OriginalFilename
SpecialBuild
Returns
This function returns a string value. If the requested filename does not exist, or the function cannot locate the
specified value in the file, the function returns an empty string ("").
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
The GetCommandLine function accesses the command-line parameters passed to the running program.
Returns
This function returns a string that represents the command-line arguments passed to the current running
program, including the original executable file.
Examples
MsgBox "The command line for this EXE was " + GetCommandLine
GetCurrentProcessName
The GetCurrentProcessName function accesses the full virtual path name of the current process.
Returns
This function returns a string that represents the full executable path name inside of the virtual environment.
In most circumstances, this path is C:\Program Files\..., even if the package source runs from a network
share.
Examples
MsgBox "Running EXE path is " + GetCurrentProcessName