-Anubi- |
|
| Trova l'eseguibile associato ad un file #include <buttonconstants.au3> #include <editconstants.au3> #include <guiconstantsex.au3> #include <windowsconstants.au3> #include <guiedit.au3> #include <winapi.au3>
$Form1 = GUICreate("Extensions Associations Finder", 387, 111, 325, 453) $Input1 = GUICtrlCreateInput("C:\File.txt", 8, 8, 377, 21) $Find = GUICtrlCreateButton("Find", 0, 40, 385, 65, $WS_GROUP) GUISetState(@SW_SHOW)
While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Find $file = _GUICtrlEdit_GetText ($Input1) $msEx = _WinAPI_FindExecutable ( $file ) MsgBox ( 0, "Executable finder", $msEx ) EndSwitch WEnd
|
| |