--- trunk/reactos/subsys/system/cmd/start.c 2005-08-25 22:09:10 UTC (rev 17548)
+++ trunk/reactos/subsys/system/cmd/start.c 2005-08-25 22:43:20 UTC (rev 17549)
@@ -131,11 +131,14 @@
return 1;
}
- memcpy(&szFullCmdLine[_tcslen(szFullCmdLine)],_T("\" /K "), 5 * sizeof(TCHAR));
+ memcpy(&szFullCmdLine[_tcslen(szFullCmdLine)],_T("\" /K \""), 6 * sizeof(TCHAR));
memcpy(&szFullCmdLine[_tcslen(szFullCmdLine)], szFullName, _tcslen(szFullName) * sizeof(TCHAR));
memcpy(&szFullCmdLine[1], &szFullCmdLine[0], _tcslen(szFullCmdLine) * sizeof(TCHAR));
szFullCmdLine[0] = _T('\"');
+ szFullCmdLine[_tcslen(szFullCmdLine)] = _T('\"');
+
+
}
#ifdef _DEBUG