--- trunk/reactos/subsys/system/cmd/En.rc 2005-05-20 19:07:23 UTC (rev 15437)
+++ trunk/reactos/subsys/system/cmd/En.rc 2005-05-20 21:33:49 UTC (rev 15438)
@@ -42,11 +42,11 @@
STRING_CD_HELP, "Changes the current directory or displays it's name\n\n\
CHDIR [drive:][path]\n\
-CHDIR[..|-]\n\
+CHDIR[..|.]\n\
CD [drive:][path]\n\
-CD[..|-]\n\n\
+CD[..|.]\n\n\
.. parent directory\n\
- - previous directory\n\n\
+ . previous directory\n\n\
Type CD drive: to display the current directory on the specified drive.\n\
Type CD without a parameter to display the current drive and directory."
--- trunk/reactos/subsys/system/cmd/internal.c 2005-05-20 19:07:23 UTC (rev 15437)
+++ trunk/reactos/subsys/system/cmd/internal.c 2005-05-20 21:33:49 UTC (rev 15438)
@@ -195,6 +195,15 @@
}
}
+
+ str_len = _tcslen(param);
+ if (str_len==1)
+ {
+ if (param[0] == _T('*'))
+ {
+ param[0] = _T('.');
+ }
+ }
dir=param;