CommandLine Property  
 

Return the complete command line issued by the client.

Syntax

object.CommandLine

Remarks

The CommandLine property is used to obtain the command that was issued by the client, and is commonly used inside OnCommand and OnResult event handlers to pre-process and post-process client commands, respectively. If the command sent by the client is used to perform an action on a file or directory, use the LocalPath property to get the full path to the local file that is the target of the command. Note that this property only returns the command, and not the associated request headers.

This property should only be accessed within an event handler because its value is specific to the client session that raised the event. This property will always return an empty string when accessed outside of an event handler.

Data Type

String

See Also

LocalPath Property, VirtualPath Property, OnCommand Event, OnResult Event