allocate memory for the string.  thanks to thomas for finding it.
Modified: trunk/reactos/subsys/system/cmd/internal.c

Modified: trunk/reactos/subsys/system/cmd/internal.c
--- trunk/reactos/subsys/system/cmd/internal.c	2005-10-02 20:17:59 UTC (rev 18232)
+++ trunk/reactos/subsys/system/cmd/internal.c	2005-10-03 00:26:39 UTC (rev 18233)
@@ -535,7 +535,7 @@
 }
 INT cmd_rmdir (LPTSTR cmd, LPTSTR param)
 {
-	LPTSTR dir;		/* pointer to the directory to change to */
+	TCHAR dir[MAX_PATH];		/* pointer to the directory to change to */
 	char ch;
 	INT args;
 	LPTSTR *arg = NULL;