Skip to content

Backslashes are not correctly shown #10647

Open
@crone66

Description

@crone66

Type of issue

Other (describe below)

Description

The documentation shows an invalid UNC path

"\ComputerName\SharedFolder" (Windows: a UNC path).

On the other hand the XML looks good.
"\\\\ComputerName\\SharedFolder" (Windows: a UNC path).

Probably some escaping issues? Probably an esay fix but I don't know how :).

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.io.path.getpathroot?view=net-8.0

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.IO/Path.xml

Document Version Independent Id

d5479c65-09ad-ee9e-1581-528f4baa95d4

Article author

@dotnet-bot

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri3Indicates issues/PRs that are low priorityarea-System.IOuntriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions