mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
cb6641589c
Co-authored-by: Nelson Figueroa <30811275+nelsonfigueroa@users.noreply.github.com>
479 B
479 B
Resolve-Path
Resolve the wildcard characters in a path, and display the path contents. Note: This command can only be used through PowerShell. More information: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/resolve-path.
- Resolve the home folder path:
Resolve-Path ~
- Resolve a UNC path:
Resolve-Path -Path "\\{{hostname}}\{{path\to\file}}"
- Get relative paths:
Resolve-Path -Path {{path\to\file_or_directory}} -Relative