8000 Split-Path should support -Extension and -LeafBase · Issue #2700 · PowerShell/PowerShell · GitHub
[go: up one dir, main page]

Skip to content
Split-Path should support -Extension and -LeafBase #2700
@jpsnover

Description

@jpsnover

$f = "c:\temp\foo.txt"

Split-Path $f -Leaf -> "foo.txt"
Split-Path $f -Extension -> ".txt" (with the "." to be compatible with dir)
Split-Path $f -LeafBase -> "foo"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Enhancementthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdletsgeneral cmdlet issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0