Check for NULL char and not '\' ;)
Modified: trunk/reactos/subsys/system/cmd/misc.c

Modified: trunk/reactos/subsys/system/cmd/misc.c
--- trunk/reactos/subsys/system/cmd/misc.c	2006-01-08 21:26:17 UTC (rev 20732)
+++ trunk/reactos/subsys/system/cmd/misc.c	2006-01-08 21:26:34 UTC (rev 20733)
@@ -372,7 +372,7 @@
 		{
       /* Check to make sure if there is no ending "
        * we dont run over the null char */
-      if(*s != _T('/'))
+      if(*s == _T('\0'))
       {
         break;
       }