From 52b04dfa2fdda94505817d148300d79153e825bc Mon Sep 17 00:00:00 2001 From: Jeffrey Morlan Date: Mon, 23 Mar 2009 14:48:04 +0000 Subject: [PATCH] - In cmd's PUSHD and POPD commands, change directory using _tchdir. svn path=/trunk/; revision=40185 --- reactos/base/shell/cmd/dirstack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/base/shell/cmd/dirstack.c b/reactos/base/shell/cmd/dirstack.c index 2aff845cabc..c1220b56ffd 100644 --- a/reactos/base/shell/cmd/dirstack.c +++ b/reactos/base/shell/cmd/dirstack.c @@ -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; }