共用方式為


EnvironmentManager.AddExecutableFileExtension(String) 方法

定義

將指定的副檔名新增至 PATHEXT 環境變數的結尾。

public:
 virtual void AddExecutableFileExtension(Platform::String ^ pathExt) = AddExecutableFileExtension;
void AddExecutableFileExtension(winrt::hstring const& pathExt);
public void AddExecutableFileExtension(string pathExt);
function addExecutableFileExtension(pathExt)
Public Sub AddExecutableFileExtension (pathExt As String)

參數

pathExt
String

Platform::String

winrt::hstring

要新增至 PATHEXT 環境變數的副檔名。

適用於

另請參閱