Thanks guys, I had suspected that rename didn't support that but didn't know what alternative to seek. Now I'm stuck tryiing to make a regex that will chop the filename off of a directory string like c:\bla\did\dy\blah.txt to be c:\bla\did\dy. Can you answer this one as fast?
Currently I am splitting the string on "\" and reconstructing it without the last array element. Surely there is a better way.