Share via


EnvironmentManager.RemoveExecutableFileExtension(String) Method

Definition

Removes the specified file extension from the end of the PATHEXT environment variable.

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

Parameters

pathExt
String

Platform::String

winrt::hstring

The file extension to be removed from the PATHEXT environment variable.

Applies to

See also