From b61bc104f2a51fc0fd2dc5b905638b625e2ea33b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Fri, 30 Jan 2004 12:34:02 +0000 Subject: [PATCH] Patch by Michael Fritscher Change error message displayed when trying to 'cd' to non-existent dir svn path=/trunk/; revision=7917 --- reactos/subsys/system/cmd/internal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/subsys/system/cmd/internal.c b/reactos/subsys/system/cmd/internal.c index 44b0dc2f151..c8a6f9feea0 100644 --- a/reactos/subsys/system/cmd/internal.c +++ b/reactos/subsys/system/cmd/internal.c @@ -246,7 +246,8 @@ INT cmd_chdir (LPTSTR cmd, LPTSTR param) if (!SetCurrentDirectory (dir)) { - ErrorMessage (GetLastError(), _T("CD")); + //ErrorMessage (GetLastError(), _T("CD")); + ConErrPrintf (_T("Dir \"%s\" doesn't seem to exist!"),dir); /* throw away current directory */ free (lpOldPath);