Skip to content

Get RelativePath

Apostolis Bekiaris edited this page Feb 25, 2020 · 8 revisions

Get-RelativePath

SYNOPSIS

Returns the relative path needed to move from one location to another.

SYNTAX

Get-RelativePath [[-fileName] <Object>] [[-targetPath] <Object>] [<CommonParameters>]

DESCRIPTION

Returns the relative path needed to move from one location to another.

EXAMPLES

Example 1

PS C:\> Get-RelativePath C:\Work\eXpandFramework\expand\Xpand.Plugins\Xpand.VSIX\Xpand.VSIX.csproj C:\Work\eXpandFramework\expand\Xpand\Xpand.Key\Xpand.snk

..\..\Xpand\Xpand.Key\Xpand.snk

PARAMETERS

-fileName

{{ Fill fileName Description }}

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-targetPath

{{ Fill targetPath Description }}

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Object

NOTES

RELATED LINKS

image

image


Star the project if you think it deserves it.

GitHub stars

Fork the project to extend and contribute.

GitHub forks

Clone this wiki locally