ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
Jam.Shell.Types.ICommandInvokable.InvokeCommand

Executes a shell command on the objects selected in the control.

Syntax
Pascal
procedure InvokeCommand(const pCommand: TShellCommand);
Parameters 
Description 
const pCommand: TShellCommand 
The shell command that should be executed. 

Nothing happens if the list is empty, no exception is raised.

Exceptions 
Description 
EShellBrowserException 
In case the execution of the command failed. The property ErrorCode of the exception will have the value ERROR_CANCELLED</> if the oprtation was canceled by the UserName.