Maps the linux path to the Windows path.(这个模块是将Linux路径映射为Windows路径的)
PathMapper
01 Syntax
Microsoft.VisualBasic.My.UNIX.PathMapper
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| GetMapPath | 1 | Map linux path on Windows: + [~ -> C:\User\<user_name>] + # -> [App.HOME] + [/ -> C:\] + [/usr/bin -> C:\Program Files\] + [/usr -> C:\User\] + - -> [App.PreviousDirectory] |
| HOME | 1 | Get user home folder |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| platform | 1 | Gets a PlatformID enumeration value that identifies the operating system platform. |
04 Members
GetMapPath(
String)Map linux path on Windows:
- [~ -> C:\User<user_name>]
- # -> [App.HOME]
- [/ -> C:]
- [/usr/bin -> C:\Program Files]
- [/usr -> C:\User]
- - -> [App.PreviousDirectory]
Parameters
| Name | Type | Description |
|---|---|---|
path | String | - |
HOME
Get user home folder
platform
Gets a PlatformID enumeration value that identifies the operating system platform.