set-location -path c:\windows and set-location c:\windows seem to be equivalent. Also changing drives using the convention of drive: only works for 'regular' drives for example:
$0PS E:\>C:$0
$0PS C:\Windows>D:$0
$0PS D:\DATA>SQLSERVER:$0
$0(powershell error message)$0
$0PS D:\DATA>set-location SQLSERVER:$0
$0PS SQLSERVER:\>$0
$0$0
$0
$0also for those who are used to DOS batch files from the good old days$0
$0$0
$0
$0C:\Windows>cd d:\data$0
$0would leave your curr
↧