|
GetAssociatedProgram |
Description
|
Retrieves the name of the executable file (program) associated with the specified file name. |
Syntax
|
[Program =] oDlg .GetAssociatedProgram ( File ) |
Parameters
|
Part |
Description |
|
Program = |
String variable to which the return value (program name) is assigned |
|
oDlg |
A reference to the WshDialog.Kit automation object (as returned by the Wscript or VBScript CreateObject methods) |
|
File |
The name of the file you want to retrieve the associated program name for. |
Example
|
See the GetAssociatedIcon page for an example |