Tuesday, March 16, 2010

PowerShell <3

I was in a deep directory tree, and I wanted to CD into the same relative location in another tree (another parallel TFS workspace as it happens):

cd ($pwd -replace 'ITS_Spare','ITS')

Ah, bliss[1]


[1] In a deeply sad and nerdy way, admittedly

1 comment:

Unknown said...

That's actually quite awesome.

Popular Posts