fix escaping
Modified: trunk/reactos/subsys/system/cmd/set.c

Modified: trunk/reactos/subsys/system/cmd/set.c
--- trunk/reactos/subsys/system/cmd/set.c	2005-09-18 17:52:28 UTC (rev 17916)
+++ trunk/reactos/subsys/system/cmd/set.c	2005-09-18 18:37:08 UTC (rev 17917)
@@ -69,9 +69,10 @@
 	/* remove escapes */
 	if ( param[0] ) for ( i = 0; param[i+1]; i++ )
 	{
-		if ( param[i] == '^' && strchr("<|>",param[i+1]) )
+		if ( param[i] == '^' && strchr("<|>&^",param[i+1]) )
 		{
 			memmove ( &param[i], &param[i+1], _tcslen(&param[i]) * sizeof(TCHAR) );
+			++i;
 		}
 	}