mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 16:10:29 +00:00
- In cmd's PUSHD and POPD commands, change directory using _tchdir.
svn path=/trunk/; revision=40185
This commit is contained in:
parent
73694e1e38
commit
52b04dfa2f
1 changed files with 2 additions and 2 deletions
|
@ -165,7 +165,7 @@ INT CommandPushd (LPTSTR rest)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (bChangePath)
|
if (bChangePath)
|
||||||
SetCurrentDirectory (newPath);
|
_tchdir(newPath);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -192,7 +192,7 @@ INT CommandPopd (LPTSTR rest)
|
||||||
GetDirectoryStackTop (szPath);
|
GetDirectoryStackTop (szPath);
|
||||||
PopDirectory ();
|
PopDirectory ();
|
||||||
|
|
||||||
SetCurrentDirectory (szPath);
|
_tchdir(szPath);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue