mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
- In cmd's PUSHD and POPD commands, change directory using _tchdir.
svn path=/trunk/; revision=40185
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user