The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. The following verbs are commonly used:
edit
Launches an editor and opens the document for editing. If File is not a document file, the function will fail.
explore
Explores a folder specified by File.
find
Initiates a search beginning in the directory specified by Directory.
open
Opens the item specified by the File parameter. The item can be a file or folder.
print
Prints the file specified by File. If File is not a document file, the function fails.
File[in]
Type:string
A pointer to a null-terminated string that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the "print" verb. If a relative path is used for the Directory parameter do not use a relative path for File.
Parameters[in]
Type:string
If File specifies an executable file, this parameter is a pointer to a null-terminated string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be NULL.
Directory[in]
Type:string
A pointer to a null-terminated string that specifies the default (working) directory for the action. If this value is NULL, the current working directory is used. If a relative path is provided at File, do not use a relative path for Directory.
Return value
Type : void
Remarks
루아 스크립트에서 본 함수를 사용하는 경우, windows api ShellExecute 함수 호출 수행.