- In cmd's PUSHD and POPD commands, change directory using _tchdir.

svn path=/trunk/; revision=40185
This commit is contained in:
Jeffrey Morlan 2009-03-23 14:48:04 +00:00
parent 73694e1e38
commit 52b04dfa2f

View file

@ -165,7 +165,7 @@ INT CommandPushd (LPTSTR rest)
return 0;
if (bChangePath)
SetCurrentDirectory (newPath);
_tchdir(newPath);
return 0;
}
@ -192,7 +192,7 @@ INT CommandPopd (LPTSTR rest)
GetDirectoryStackTop (szPath);
PopDirectory ();
SetCurrentDirectory (szPath);
_tchdir(szPath);
return 0;
}