What I need to do is place the directory I CD into in a variable I can call elsewhere. What happening is @CurDir is the same as @StartDir.

As well, I've tried -

Shell "cmd.exe /c cd %userprofile%\.." > $NewDir


Edited by danfiggolf (2007-04-25 08:53 PM)
Edit Reason: additional info