View Single Post
Old 06-21-2007   #1 (permalink)
Harald Ums \(2179630\)


 
 

how do I keep powershells current directory and dotnets current directory in sync

System.IO.FileInfo and every dotnet function has a current directory, that
is different from what powershell thinks is the current directory.

[system.Environment]::CurrentDirectory = (convert-path ".")

puts it in sync once, but after every cd everything is wrong again
Calling Convert-Path before using a dotnet function is extremely tedious and
error prone.

Harald

My System SpecsSystem Spec