ExecuteProcess.RequireFullFileName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a Boolean that indicates whether the full name and extension of the task is required.
public:
property bool RequireFullFileName { bool get(); void set(bool value); };
public bool RequireFullFileName { get; set; }
member this.RequireFullFileName : bool with get, set
Public Property RequireFullFileName As Boolean
Property Value
true if the full name and extension of the task is required. If set to true, the task should fail when the full file name for the executable cannot be found. Default value is true.
Implements
Remarks
This Boolean
, when set to true
, requires that the user enter a file name and the file extension so that the Execute Process task explicitly knows what file name to run. For example, if this property is set to false
, then the user can enter ipconfig instead of ipconfig.exe
. Note, however, that if this property is set to false
, and there are two files with the same name that have different extensions, the task runs the first file it finds with the designated name, regardless of extension.