What's the purpose of this line?  You go in and out of the directory with no other commands between.  Is there an outstanding file handle on Windows to that directory?