Thx harmut you did see the small bug, I miss, do not use MAX_PATH as lenght of command line, it must be CMDLINE_LENGTH instead, patch by Brandon Turner Modified: trunk/reactos/subsys/system/cmd/cmd.c _____
Modified: trunk/reactos/subsys/system/cmd/cmd.c --- trunk/reactos/subsys/system/cmd/cmd.c 2005-08-09 19:35:07 UTC (rev 17249) +++ trunk/reactos/subsys/system/cmd/cmd.c 2005-08-09 19:52:16 UTC (rev 17250) @@ -296,9 +296,9 @@
Execute (LPTSTR Full, LPTSTR First, LPTSTR Rest) { TCHAR szFullName[MAX_PATH]; - TCHAR first[MAX_PATH]; - TCHAR rest[MAX_PATH]; - TCHAR full[MAX_PATH]; + TCHAR first[CMDLINE_LENGTH]; + TCHAR rest[CMDLINE_LENGTH]; + TCHAR full[CMDLINE_LENGTH]; #ifndef __REACTOS__ TCHAR szWindowTitle[MAX_PATH]; #endif