PowerTCP SSH and SFTP for .NET
ConvertToWindows(String) Method




A relative or absolute Unix path
Converts a relative or absolute Unix path to a Windows path fragment, and replaces any Windows filesystem-illegal characters with underscores.
Syntax
'Declaration
 
Public Overloads Shared Function ConvertToWindows( _
   ByVal unixPath As String _
) As String
'Usage
 
Dim unixPath As String
Dim value As String
 
value = UnixPath.ConvertToWindows(unixPath)
public static string ConvertToWindows( 
   string unixPath
)
public: static string* ConvertToWindows( 
   string* unixPath
) 
public:
static String^ ConvertToWindows( 
   String^ unixPath
) 

Parameters

unixPath
A relative or absolute Unix path

Return Value

A sanitized Windows path fragment
See Also

Reference

UnixPath Class
UnixPath Members
Overload List


PowerTCP SSH and SFTP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic