-
-
Notifications
You must be signed in to change notification settings - Fork 7
Get RelativePath
apobekiaris edited this page Sep 4, 2020
·
8 revisions
Returns the relative path needed to move from one location to another.
Get-RelativePath [[-fileName] <Object>] [[-targetPath] <Object>] [<CommonParameters>]
Returns the relative path needed to move from one location to another.
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
Find the relative path of the Xpand.snk in relation to Xpand.VSIX.csproj
{{ Fill fileName Description }}
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill targetPath Description }}
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.