Commit in reactos/subsys/system/cmd on MAIN
alias.c+1-81.2 -> 1.3
attrib.c+1-61.2 -> 1.3
batch.c+1-91.4 -> 1.5
beep.c+1-71.2 -> 1.3
call.c+1-91.3 -> 1.4
chcp.c+1-71.4 -> 1.5
choice.c+1-91.3 -> 1.4
cls.c+1-61.3 -> 1.4
cmd.c+1-141.19 -> 1.20
cmdinput.c-61.6 -> 1.7
cmdtable.c-31.2 -> 1.3
color.c+2-61.5 -> 1.6
console.c+1-71.9 -> 1.10
copy.c+2-111.5 -> 1.6
date.c+1-61.3 -> 1.4
del.c+1-101.6 -> 1.7
delay.c+1-51.3 -> 1.4
dir.c+2-81.11 -> 1.12
dirstack.c+1-71.2 -> 1.3
echo.c+1-71.4 -> 1.5
error.c-51.3 -> 1.4
filecomp.c-71.5 -> 1.6
for.c-81.3 -> 1.4
free.c+1-71.3 -> 1.4
goto.c-71.3 -> 1.4
history.c+1-81.3 -> 1.4
if.c-71.3 -> 1.4
internal.c-61.5 -> 1.6
label.c+1-61.2 -> 1.3
locale.c-51.2 -> 1.3
makefile+21.11 -> 1.12
memory.c+1-61.2 -> 1.3
misc.c-71.6 -> 1.7
move.c+1-61.2 -> 1.3
msgbox.c+1-51.2 -> 1.3
path.c+1-81.3 -> 1.4
pause.c+1-81.3 -> 1.4
precomp.h+14-11.1 -> 1.2
prompt.c-71.2 -> 1.3
redir.c+1-61.2 -> 1.3
ren.c+1-81.2 -> 1.3
screen.c+1-61.3 -> 1.4
set.c+1-61.4 -> 1.5
shift.c-61.3 -> 1.4
start.c+1-61.4 -> 1.5
strtoclr.c-41.3 -> 1.4
time.c+1-61.3 -> 1.4
timer.c+1-61.3 -> 1.4
title.c+1-51.2 -> 1.3
type.c+1-51.3 -> 1.4
ver.c-51.4 -> 1.5
verify.c+1-51.2 -> 1.3
vol.c+1-51.2 -> 1.3
where.c-41.6 -> 1.7
window.c+2-71.2 -> 1.3
+58-355
55 modified files
make better use of precompiled headers

reactos/subsys/system/cmd
alias.c 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- alias.c	15 Aug 2004 22:15:23 -0000	1.2
+++ alias.c	8 Nov 2004 02:16:06 -0000	1.3
@@ -27,16 +27,9 @@
  */
 
 
-#include "config.h"
-
-#ifdef FEATURE_ALIASES
-
 #include "precomp.h"
-#include <tchar.h>
-#include <stdlib.h>
-#include <string.h>
-#include <ctype.h>
 
+#ifdef FEATURE_ALIASES
 
 typedef struct tagALIAS
 {

reactos/subsys/system/cmd
attrib.c 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- attrib.c	15 Aug 2004 22:15:23 -0000	1.2
+++ attrib.c	8 Nov 2004 02:16:06 -0000	1.3
@@ -29,15 +29,10 @@
  *        Added handling of multiple filenames.
  */
 
-#include "config.h"
+#include "precomp.h"
 
 #ifdef INCLUDE_CMD_ATTRIB
 
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <ctype.h>
-
 
 static VOID
 PrintAttribute (LPTSTR pszPath, LPTSTR pszFile, BOOL bRecurse)

reactos/subsys/system/cmd
batch.c 1.4 -> 1.5
diff -u -r1.4 -r1.5
--- batch.c	15 Aug 2004 22:15:23 -0000	1.4
+++ batch.c	8 Nov 2004 02:16:06 -0000	1.5
@@ -1,4 +1,4 @@
-/* $Id: batch.c,v 1.4 2004/08/15 22:15:23 chorns Exp $
+/* $Id: batch.c,v 1.5 2004/11/08 02:16:06 weiden Exp $
  *
  *  BATCH.C - batch file processor for CMD.EXE.
  *
@@ -56,15 +56,7 @@
  *        Fixes made to get "for" working.
  */
 
-#include "config.h"
-
 #include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
-#include <ctype.h>
-
-#include "batch.h"
 
 
 /* The stack of current batch contexts.

reactos/subsys/system/cmd
beep.c 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- beep.c	15 Aug 2004 22:15:23 -0000	1.2
+++ beep.c	8 Nov 2004 02:16:06 -0000	1.3
@@ -21,15 +21,9 @@
  *        Redirection ready!
  */
 
-#include "config.h"
-
-#ifdef INCLUDE_CMD_BEEP
-
 #include "precomp.h"
-#include <tchar.h>
-#include <string.h>
 
-#include "batch.h"
+#ifdef INCLUDE_CMD_BEEP
 
 
 INT cmd_beep (LPTSTR cmd, LPTSTR param)

reactos/subsys/system/cmd
call.c 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- call.c	15 Aug 2004 22:15:23 -0000	1.3
+++ call.c	8 Nov 2004 02:16:06 -0000	1.4
@@ -1,4 +1,4 @@
-/* $Id: call.c,v 1.3 2004/08/15 22:15:23 chorns Exp $
+/* $Id: call.c,v 1.4 2004/11/08 02:16:06 weiden Exp $
  *
  *  CALL.C - call internal batch command.
  *
@@ -26,15 +26,7 @@
  *        Unicode and redirection safe!
  */
 
-#include "config.h"
-
 #include "precomp.h"
-#include <tchar.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include "batch.h"
 
 
 /*

reactos/subsys/system/cmd
chcp.c 1.4 -> 1.5
diff -u -r1.4 -r1.5
--- chcp.c	15 Aug 2004 22:15:23 -0000	1.4
+++ chcp.c	8 Nov 2004 02:16:06 -0000	1.5
@@ -9,15 +9,9 @@
  *
  */
 
-#include "config.h"
-
-#ifdef INCLUDE_CMD_CHCP
-
 #include "precomp.h"
-#include <tchar.h>
-#include <stdlib.h>
-#include <string.h>
 
+#ifdef INCLUDE_CMD_CHCP
 
 INT CommandChcp (LPTSTR cmd, LPTSTR param)
 {

reactos/subsys/system/cmd
choice.c 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- choice.c	15 Aug 2004 22:15:23 -0000	1.3
+++ choice.c	8 Nov 2004 02:16:06 -0000	1.4
@@ -14,17 +14,9 @@
  *        Fixed timeout.
  */
 
-#include "config.h"
-
-#ifdef INCLUDE_CMD_CHOICE
-
 #include "precomp.h"
-#include <stdlib.h>
-#include <string.h>
-#include <ctype.h>
-#include <tchar.h>
 
-#include "batch.h"
+#ifdef INCLUDE_CMD_CHOICE
 
 
 #define GC_TIMEOUT	-1

reactos/subsys/system/cmd
cls.c 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- cls.c	15 Aug 2004 22:15:23 -0000	1.3
+++ cls.c	8 Nov 2004 02:16:06 -0000	1.4
@@ -23,14 +23,9 @@
  *        Redirection ready!
  */
 
-#include "config.h"
-
-#ifdef INCLUDE_CMD_CLS
-
 #include "precomp.h"
-#include <tchar.h>
-#include <string.h>
 
+#ifdef INCLUDE_CMD_CLS
 
 INT cmd_cls (LPTSTR cmd, LPTSTR param)
 {

reactos/subsys/system/cmd
cmd.c 1.19 -> 1.20
diff -u -r1.19 -r1.20
--- cmd.c	22 Aug 2004 20:47:20 -0000	1.19
+++ cmd.c	8 Nov 2004 02:16:06 -0000	1.20
@@ -1,4 +1,4 @@
-/* $Id: cmd.c,v 1.19 2004/08/22 20:47:20 hbirr Exp $
+/* $Id: cmd.c,v 1.20 2004/11/08 02:16:06 weiden Exp $
  *
  *  CMD.C - command-line interface.
  *
@@ -131,25 +131,12 @@
  *       Added ShellExecute call when all else fails to be able to "launch" any file.
  */
 
-#include "config.h"
-
 #include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
-#include <ctype.h>
-#include <stdio.h>
-#include <winnt.h>
-#include <winternl.h>
 
 #ifndef NT_SUCCESS
 #define NT_SUCCESS(StatCode)  ((NTSTATUS)(StatCode) >= 0)
 #endif
 
-#include "batch.h"
-
-#include <shellapi.h>
-
 typedef NTSTATUS (STDCALL *NtQueryInformationProcessProc)(HANDLE, PROCESSINFOCLASS,
                                                           PVOID, ULONG, PULONG);
 typedef NTSTATUS (STDCALL *NtReadVirtualMemoryProc)(HANDLE, PVOID, PVOID, ULONG, PULONG);

reactos/subsys/system/cmd
cmdinput.c 1.6 -> 1.7
diff -u -r1.6 -r1.7
--- cmdinput.c	15 Aug 2004 22:15:23 -0000	1.6
+++ cmdinput.c	8 Nov 2004 02:16:06 -0000	1.7
@@ -97,13 +97,7 @@
  *        Fixed problems when the screen was scrolled away.
  */
 
-#include "config.h"
-
 #include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-
-#include "batch.h"
 
 
 SHORT maxx;

reactos/subsys/system/cmd
cmdtable.c 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- cmdtable.c	15 Aug 2004 22:15:23 -0000	1.2
+++ cmdtable.c	8 Nov 2004 02:16:06 -0000	1.3
@@ -17,10 +17,7 @@
  *        Unicode ready!
  */
 
-#include "config.h"
-
 #include "precomp.h"
-#include <tchar.h>
 
 
 /* a list of all the internal commands, associating their command names */

reactos/subsys/system/cmd
color.c 1.5 -> 1.6
diff -u -r1.5 -r1.6
--- color.c	15 Aug 2004 22:15:23 -0000	1.5
+++ color.c	8 Nov 2004 02:16:06 -0000	1.6
@@ -1,4 +1,4 @@
-/* $Id: color.c,v 1.5 2004/08/15 22:15:23 chorns Exp $
+/* $Id: color.c,v 1.6 2004/11/08 02:16:06 weiden Exp $
  *
  *  COLOR.C - color internal command.
  *
@@ -18,13 +18,9 @@
  *        4nt's syntax implemented
  */
 
-#include "config.h"
+#include "precomp.h"
 
 #ifdef INCLUDE_CMD_COLOR
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
 
 
 static VOID ColorHelp (VOID)

reactos/subsys/system/cmd
console.c 1.9 -> 1.10
diff -u -r1.9 -r1.10
--- console.c	2 Nov 2004 20:47:05 -0000	1.9
+++ console.c	8 Nov 2004 02:16:06 -0000	1.10
@@ -1,4 +1,4 @@
-/* $Id: console.c,v 1.9 2004/11/02 20:47:05 weiden Exp $
+/* $Id: console.c,v 1.10 2004/11/08 02:16:06 weiden Exp $
  *
  *  CONSOLE.C - console input/output functions.
  *
@@ -9,13 +9,7 @@
  *        started
  */
 
-#include "config.h"
-
 #include "precomp.h"
-#include <tchar.h>
-#include <stdio.h>
-#include <stdarg.h>
-#include <string.h>
 
 
 #define OUTPUT_BUFFER_SIZE  4096

reactos/subsys/system/cmd
copy.c 1.5 -> 1.6
diff -u -r1.5 -r1.6
--- copy.c	15 Aug 2004 22:15:23 -0000	1.5
+++ copy.c	8 Nov 2004 02:16:06 -0000	1.6
@@ -1,4 +1,4 @@
-/* $Id: copy.c,v 1.5 2004/08/15 22:15:23 chorns Exp $
+/* $Id: copy.c,v 1.6 2004/11/08 02:16:06 weiden Exp $
  *
  *  COPY.C -- copy internal command.
  *
@@ -22,18 +22,9 @@
  *        Disabled prompting when used in batch mode.
  */
 
-#include "config.h"
-
-#ifdef INCLUDE_CMD_COPY
-
 #include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
-#include <ctype.h>
-#include <tchar.h>
 
-#include "batch.h"
+#ifdef INCLUDE_CMD_COPY
 
 
 #define VERIFY  1               /* VERIFY Switch */

reactos/subsys/system/cmd
date.c 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- date.c	15 Aug 2004 22:15:23 -0000	1.3
+++ date.c	8 Nov 2004 02:16:06 -0000	1.4
@@ -28,15 +28,10 @@
  *        Fixed date input bug.
  */
 
-#include "config.h"
+#include "precomp.h"
 
 #ifdef INCLUDE_CMD_DATE
 
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <ctype.h>
-
 
 static WORD awMonths[2][13] =
 {

reactos/subsys/system/cmd
del.c 1.6 -> 1.7
diff -u -r1.6 -r1.7
--- del.c	15 Aug 2004 22:15:23 -0000	1.6
+++ del.c	8 Nov 2004 02:16:06 -0000	1.7
@@ -34,18 +34,9 @@
  *        Added prompt ("/P"), yes ("/Y") and wipe("/W") option.
  */
 
-#include "config.h"
-
-#ifdef INCLUDE_CMD_DEL
-
 #include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
-#include <ctype.h>
-#include <math.h>
 
-#include "batch.h"
+#ifdef INCLUDE_CMD_DEL
 
 
 enum

reactos/subsys/system/cmd
delay.c 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- delay.c	15 Aug 2004 22:15:23 -0000	1.3
+++ delay.c	8 Nov 2004 02:16:06 -0000	1.4
@@ -9,14 +9,10 @@
  *
  */
 
-#include "config.h"
+#include "precomp.h"
 
 #ifdef INCLUDE_CMD_DELAY
 
-#include "precomp.h"
-#include <tchar.h>
-#include <stdlib.h>
-
 
 INT CommandDelay (LPTSTR cmd, LPTSTR param)
 {

reactos/subsys/system/cmd
dir.c 1.11 -> 1.12
diff -u -r1.11 -r1.12
--- dir.c	15 Aug 2004 22:15:23 -0000	1.11
+++ dir.c	8 Nov 2004 02:16:06 -0000	1.12
@@ -1,4 +1,4 @@
-/* $Id: dir.c,v 1.11 2004/08/15 22:15:23 chorns Exp $
+/* $Id: dir.c,v 1.12 2004/11/08 02:16:06 weiden Exp $
  *
  *  DIR.C - dir internal command.
  *
@@ -121,15 +121,9 @@
  *        Fix /w to print long names.
  */
 
-#include "config.h"
+#include "precomp.h"
 
 #ifdef INCLUDE_CMD_DIR
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <ctype.h>
 
 
 /* flag definitions */

reactos/subsys/system/cmd
dirstack.c 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- dirstack.c	15 Aug 2004 22:15:23 -0000	1.2
+++ dirstack.c	8 Nov 2004 02:16:06 -0000	1.3
@@ -14,15 +14,9 @@
  *        Added DIRS command.
  */
 
-#include "config.h"
-
-#ifdef FEATURE_DIRECTORY_STACK
-
 #include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
 
+#ifdef FEATURE_DIRECTORY_STACK
 
 typedef struct tagDIRENTRY
 {

reactos/subsys/system/cmd
echo.c 1.4 -> 1.5
diff -u -r1.4 -r1.5
--- echo.c	15 Aug 2004 22:15:23 -0000	1.4
+++ echo.c	8 Nov 2004 02:16:06 -0000	1.5
@@ -1,4 +1,4 @@
-/* $Id: echo.c,v 1.4 2004/08/15 22:15:23 chorns Exp $
+/* $Id: echo.c,v 1.5 2004/11/08 02:16:06 weiden Exp $
  *
  *  ECHO.C - internal echo commands.
  *
@@ -24,13 +24,7 @@
  *        Implemented 'echo.' and 'echoerr.'.
  */
 
-#include "config.h"
-
 #include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-
-#include "batch.h"
 
 
 INT CommandEcho (LPTSTR cmd, LPTSTR param)

reactos/subsys/system/cmd
error.c 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- error.c	15 Aug 2004 22:15:23 -0000	1.3
+++ error.c	8 Nov 2004 02:16:06 -0000	1.4
@@ -17,12 +17,7 @@
  *        Use FormatMessage() for error reports.
  */
 
-#include "config.h"
-
 #include "precomp.h"
-#include <tchar.h>
-#include <stdio.h>
-#include <stdarg.h>
 
 
 #define INVALID_SWITCH		_T("Invalid switch - /%c\n")

reactos/subsys/system/cmd
filecomp.c 1.5 -> 1.6
diff -u -r1.5 -r1.6
--- filecomp.c	15 Aug 2004 22:15:23 -0000	1.5
+++ filecomp.c	8 Nov 2004 02:16:06 -0000	1.6
@@ -20,14 +20,7 @@
  *       Now expands lfn even when trailing " is omitted.
  */
 
-#include "config.h"
-
 #include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
-#include <ctype.h>
-#include <stdio.h>
 
 
 #ifdef FEATURE_UNIX_FILENAME_COMPLETION

reactos/subsys/system/cmd
for.c 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- for.c	15 Aug 2004 22:15:23 -0000	1.3
+++ for.c	8 Nov 2004 02:16:06 -0000	1.4
@@ -27,15 +27,7 @@
  *        code in other files fixed, too.
  */
 
-#include "config.h"
-
 #include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
-#include <ctype.h>
-
-#include "batch.h"
 
 
 /*

reactos/subsys/system/cmd
free.c 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- free.c	15 Aug 2004 22:15:23 -0000	1.3
+++ free.c	8 Nov 2004 02:16:06 -0000	1.4
@@ -8,16 +8,10 @@
  *        Started.
  */
 
-#include "config.h"
+#include "precomp.h"
 
 #ifdef INCLUDE_CMD_FREE
 
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdio.h>
-#include <ctype.h>
-
 
 /*
  * convert

reactos/subsys/system/cmd
goto.c 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- goto.c	15 Aug 2004 22:15:23 -0000	1.3
+++ goto.c	8 Nov 2004 02:16:06 -0000	1.4
@@ -23,14 +23,7 @@
  *        Added help text ("/?").
  */
 
-#include "config.h"
-
 #include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <ctype.h>
-
-#include "batch.h"
 
 
 /*

reactos/subsys/system/cmd
history.c 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- history.c	15 Aug 2004 22:15:23 -0000	1.3
+++ history.c	8 Nov 2004 02:16:06 -0000	1.4
@@ -37,16 +37,9 @@
  *
  */ 
 
-#include "config.h"
-
-#ifdef FEATURE_HISTORY
-
 #include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
-#include <ctype.h>
 
+#ifdef FEATURE_HISTORY
 
 typedef struct tagHISTORY
 {

reactos/subsys/system/cmd
if.c 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- if.c	15 Aug 2004 22:15:23 -0000	1.3
+++ if.c	8 Nov 2004 02:16:06 -0000	1.4
@@ -26,14 +26,7 @@
  *        IF DEFINED variable command
  */
 
-#include "config.h"
-
 #include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <ctype.h>
-
-#include "batch.h"
 
 
 #define X_EXEC 1

reactos/subsys/system/cmd
internal.c 1.5 -> 1.6
diff -u -r1.5 -r1.6
--- internal.c	15 Aug 2004 22:15:23 -0000	1.5
+++ internal.c	8 Nov 2004 02:16:06 -0000	1.6
@@ -124,13 +124,7 @@
  *        Improved chdir/cd command.
  */
 
-#include "config.h"
-
 #include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
-#include <ctype.h>
 
 
 #ifdef INCLUDE_CMD_CHDIR

reactos/subsys/system/cmd
label.c 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- label.c	15 Aug 2004 22:15:23 -0000	1.2
+++ label.c	8 Nov 2004 02:16:06 -0000	1.3
@@ -14,15 +14,10 @@
  *        Unicode ready!
  */
 
-#include "config.h"
+#include "precomp.h"
 
 #ifdef INCLUDE_CMD_LABEL
 
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <ctype.h>
-
 
 INT cmd_label (LPTSTR cmd, LPTSTR param)
 {

reactos/subsys/system/cmd
locale.c 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- locale.c	15 Aug 2004 22:15:23 -0000	1.2
+++ locale.c	8 Nov 2004 02:16:06 -0000	1.3
@@ -11,12 +11,7 @@
  *        Unicode safe!
  */
 
-#include "config.h"
-
 #include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
 
 
 TCHAR cDateSeparator;

reactos/subsys/system/cmd
makefile 1.11 -> 1.12
diff -u -r1.11 -r1.12
--- makefile	15 Aug 2004 22:15:23 -0000	1.11
+++ makefile	8 Nov 2004 02:16:06 -0000	1.12
@@ -33,4 +33,6 @@
 
 include $(TOOLS_PATH)/helper.mk
 
+include $(TOOLS_PATH)/depend.mk
+
 # EOF

reactos/subsys/system/cmd
memory.c 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- memory.c	15 Aug 2004 22:15:23 -0000	1.2
+++ memory.c	8 Nov 2004 02:16:06 -0000	1.3
@@ -8,15 +8,10 @@
  *        Started.
  */
 
-#include "config.h"
+#include "precomp.h"
 
 #ifdef INCLUDE_CMD_MEMORY
 
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <ctype.h>
-
 
 /*
  * convert

reactos/subsys/system/cmd
misc.c 1.6 -> 1.7
diff -u -r1.6 -r1.7
--- misc.c	15 Aug 2004 22:15:23 -0000	1.6
+++ misc.c	8 Nov 2004 02:16:06 -0000	1.7
@@ -29,14 +29,7 @@
  *        Added PagePrompt() and FilePrompt().
  */
 
-#include "config.h"
-
 #include "precomp.h"
-#include <ctype.h>
-#include <string.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <tchar.h>
 
 
 /*

reactos/subsys/system/cmd
move.c 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- move.c	15 Aug 2004 22:15:23 -0000	1.2
+++ move.c	8 Nov 2004 02:16:06 -0000	1.3
@@ -22,15 +22,10 @@
  *        Added "/N" option.
  */
 
-#include "config.h"
+#include "precomp.h"
 
 #ifdef INCLUDE_CMD_MOVE
 
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <ctype.h>
-
 
 #define OVERWRITE_NO     0
 #define OVERWRITE_YES    1

reactos/subsys/system/cmd
msgbox.c 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- msgbox.c	15 Aug 2004 22:15:23 -0000	1.2
+++ msgbox.c	8 Nov 2004 02:16:06 -0000	1.3
@@ -7,13 +7,9 @@
  *     started - Paolo Pantaleo <paolopan@freemail.it>
  */
 
-#include "config.h"
+#include "precomp.h"
 
 #ifdef INCLUDE_CMD_MSGBOX
-#include "precomp.h"
-#include <ctype.h>
-#include <string.h>
-#include <tchar.h>
 
 
 #define U_TYPE_INIT 0

reactos/subsys/system/cmd
path.c 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- path.c	15 Aug 2004 22:15:23 -0000	1.3
+++ path.c	8 Nov 2004 02:16:06 -0000	1.4
@@ -22,16 +22,9 @@
  *    24-Jan-1999 (Eric Kohl <ekohl@abo.rhein-zeitung.de>)
  *        Fixed Win32 environment handling.
  */
-
-#include "config.h"
-
-#ifdef INCLUDE_CMD_PATH
-
 #include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
 
+#ifdef INCLUDE_CMD_PATH
 
 /* size of environment variable buffer */
 #define ENV_BUFFER_SIZE 1024

reactos/subsys/system/cmd
pause.c 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- pause.c	15 Aug 2004 22:15:23 -0000	1.3
+++ pause.c	8 Nov 2004 02:16:06 -0000	1.4
@@ -17,16 +17,9 @@
  *        Unicode ready!
  */
 
-#include "config.h"
-
-#ifdef INCLUDE_CMD_PAUSE
-
 #include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-
-#include "batch.h"
 
+#ifdef INCLUDE_CMD_PAUSE
 
 /*
  * Perform PAUSE command.

reactos/subsys/system/cmd
precomp.h 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- precomp.h	15 Aug 2004 22:15:23 -0000	1.1
+++ precomp.h	8 Nov 2004 02:16:06 -0000	1.2
@@ -1,2 +1,15 @@
-#include "cmd.h"
 #include <windows.h>
+#include <winnt.h>
+#include <winternl.h>
+#include <shellapi.h>
+
+#include <tchar.h>
+#include <ctype.h>
+#include <string.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <stdarg.h>
+
+#include "cmd.h"
+#include "config.h"
+#include "batch.h"

reactos/subsys/system/cmd
prompt.c 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- prompt.c	15 Aug 2004 22:15:23 -0000	1.2
+++ prompt.c	8 Nov 2004 02:16:06 -0000	1.3
@@ -43,14 +43,7 @@
  *    24-Jan-1999 (Eric Kohl <ekohl@abo.rhein-zeitung.de>)
  *        Fixed Win32 environment handling.
  */
-
-#include "config.h"
-
 #include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <ctype.h>
-
 
 /*
  * print the command-line prompt

reactos/subsys/system/cmd
redir.c 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- redir.c	15 Aug 2004 22:15:23 -0000	1.2
+++ redir.c	8 Nov 2004 02:16:06 -0000	1.3
@@ -22,15 +22,10 @@
  *        Added new error AND output redirection "&>" and "&>>".
  */
 
-#include "config.h"
+#include "precomp.h"
 
 #ifdef FEATURE_REDIRECTION
 
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <ctype.h>
-
 
 static BOOL
 IsRedirection (TCHAR c)

reactos/subsys/system/cmd
ren.c 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- ren.c	15 Aug 2004 22:15:23 -0000	1.2
+++ ren.c	8 Nov 2004 02:16:06 -0000	1.3
@@ -17,16 +17,9 @@
  *        Implemented basic rename code.
  */
 
-#include "config.h"
-
-#ifdef INCLUDE_CMD_RENAME
-
 #include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <ctype.h>
 
-#include "batch.h"
+#ifdef INCLUDE_CMD_RENAME
 
 enum
 {

reactos/subsys/system/cmd
screen.c 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- screen.c	15 Aug 2004 22:15:23 -0000	1.3
+++ screen.c	8 Nov 2004 02:16:06 -0000	1.4
@@ -9,15 +9,10 @@
  *
  */
 
-#include "config.h"
+#include "precomp.h"
 
 #ifdef INCLUDE_CMD_SCREEN
 
-#include "precomp.h"
-#include <tchar.h>
-#include <stdlib.h>
-#include <ctype.h>
-
 
 INT CommandScreen (LPTSTR cmd, LPTSTR param)
 {

reactos/subsys/system/cmd
set.c 1.4 -> 1.5
diff -u -r1.4 -r1.5
--- set.c	15 Aug 2004 22:15:23 -0000	1.4
+++ set.c	8 Nov 2004 02:16:06 -0000	1.5
@@ -31,15 +31,10 @@
  *        Fixed little bug.
  */
 
-#include "config.h"
+#include "precomp.h"
 
 #ifdef INCLUDE_CMD_SET
 
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
-
 
 /* initial size of environment variable buffer */
 #define ENV_BUFFER_SIZE  1024

reactos/subsys/system/cmd
shift.c 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- shift.c	15 Aug 2004 22:15:23 -0000	1.3
+++ shift.c	8 Nov 2004 02:16:06 -0000	1.4
@@ -20,13 +20,7 @@
  *        Unicode and redirection safe!
  */
 
-#include "config.h"
-
 #include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-
-#include "batch.h"
 
 
 /*

reactos/subsys/system/cmd
start.c 1.4 -> 1.5
diff -u -r1.4 -r1.5
--- start.c	15 Aug 2004 22:15:23 -0000	1.4
+++ start.c	8 Nov 2004 02:16:06 -0000	1.5
@@ -8,14 +8,9 @@
  *        Started.
  */
 
-#include "config.h"
+#include "precomp.h"
 
 #ifdef INCLUDE_CMD_START
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
-#include <ctype.h>
 
 
 INT cmd_start (LPTSTR first, LPTSTR rest)

reactos/subsys/system/cmd
strtoclr.c 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- strtoclr.c	15 Aug 2004 22:15:23 -0000	1.3
+++ strtoclr.c	8 Nov 2004 02:16:06 -0000	1.4
@@ -18,10 +18,6 @@
 
 #include "precomp.h"
 
-#include <ctype.h>
-#include <tchar.h>
-
-
 #define _B FOREGROUND_BLUE
 #define _G FOREGROUND_GREEN
 #define _R FOREGROUND_RED

reactos/subsys/system/cmd
time.c 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- time.c	15 Aug 2004 22:15:23 -0000	1.3
+++ time.c	8 Nov 2004 02:16:06 -0000	1.4
@@ -21,15 +21,10 @@
  *        Fixed time input bug.
  */
 
-#include "config.h"
+#include "precomp.h"
 
 #ifdef INCLUDE_CMD_TIME
 
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <ctype.h>
-
 
 static BOOL ParseTime (LPTSTR s)
 {

reactos/subsys/system/cmd
timer.c 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- timer.c	15 Aug 2004 22:15:23 -0000	1.3
+++ timer.c	8 Nov 2004 02:16:06 -0000	1.4
@@ -7,14 +7,9 @@
  *     started - Paolo Pantaleo <paolopan@freemail.it>
  */
 
-#include "config.h"
-
-#ifdef INCLUDE_CMD_TIMER
 #include "precomp.h"
 
-#include <ctype.h>
-#include <string.h>
-#include <tchar.h>
+#ifdef INCLUDE_CMD_TIMER
 
 
 #define NCS_NOT_SPECIFIED -1

reactos/subsys/system/cmd
title.c 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- title.c	15 Aug 2004 22:15:23 -0000	1.2
+++ title.c	8 Nov 2004 02:16:06 -0000	1.3
@@ -6,14 +6,10 @@
  *	1999-02-11 Emanuele Aliberti
  */
 
-#include "config.h"
+#include "precomp.h"
 
 #ifdef INCLUDE_CMD_TITLE
 
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-
 
 INT cmd_title (LPTSTR cmd, LPTSTR param)
 {

reactos/subsys/system/cmd
type.c 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- type.c	15 Aug 2004 22:15:23 -0000	1.3
+++ type.c	8 Nov 2004 02:16:06 -0000	1.4
@@ -23,14 +23,10 @@
  *        Added multiple file support (copied from y.c)
  */
 
-#include "config.h"
+#include "precomp.h"
 
 #ifdef INCLUDE_CMD_TYPE
 
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-
 
 INT cmd_type (LPTSTR cmd, LPTSTR param)
 {

reactos/subsys/system/cmd
ver.c 1.4 -> 1.5
diff -u -r1.4 -r1.5
--- ver.c	15 Aug 2004 22:15:23 -0000	1.4
+++ ver.c	8 Nov 2004 02:16:06 -0000	1.5
@@ -21,12 +21,7 @@
  *        New version info and some output changes.
  */
 
-#include "config.h"
-
 #include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <ctype.h>
 
 
 VOID ShortVersion (VOID)

reactos/subsys/system/cmd
verify.c 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- verify.c	15 Aug 2004 22:15:23 -0000	1.2
+++ verify.c	8 Nov 2004 02:16:06 -0000	1.3
@@ -15,14 +15,10 @@
  *        Unicode and redirection ready!
  */
 
-#include "config.h"
+#include "precomp.h"
 
 #ifdef INCLUDE_CMD_VERIFY
 
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-
 
 /* global verify flag */
 static BOOL bVerify = FALSE;

reactos/subsys/system/cmd
vol.c 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- vol.c	15 Aug 2004 22:15:23 -0000	1.2
+++ vol.c	8 Nov 2004 02:16:06 -0000	1.3
@@ -20,14 +20,10 @@
  *        Redirection ready!
  */
 
-#include "config.h"
+#include "precomp.h"
 
 #ifdef INCLUDE_CMD_VOL
 
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-
 
 static INT
 PrintVolumeHeader (LPTSTR pszRootPath)

reactos/subsys/system/cmd
where.c 1.6 -> 1.7
diff -u -r1.6 -r1.7
--- where.c	22 Aug 2004 20:55:15 -0000	1.6
+++ where.c	8 Nov 2004 02:16:06 -0000	1.7
@@ -74,11 +74,7 @@
  *
  */
 
-#include "config.h"
-
 #include "precomp.h"
-#include <string.h>
-#include <stdlib.h>
 
 
 /* initial size of environment variable buffer */

reactos/subsys/system/cmd
window.c 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- window.c	15 Aug 2004 22:15:23 -0000	1.2
+++ window.c	8 Nov 2004 02:16:06 -0000	1.3
@@ -1,4 +1,4 @@
-/* $Id: window.c,v 1.2 2004/08/15 22:15:23 chorns Exp $
+/* $Id: window.c,v 1.3 2004/11/08 02:16:06 weiden Exp $
  *
  * WINDOW.C - activate & window internal commands.
  *
@@ -13,15 +13,10 @@
  */
 
 
-#include "config.h"
+#include "precomp.h"
 
 #if (  defined(INCLUDE_CMD_WINDOW) ||  defined(INCLUDE_CMD_ACTIVATE)  )
 
-#include "precomp.h"
-#include <stdlib.h>
-#include <string.h>
-#include <tchar.h>
-
 
 #define A_MIN		0x01
 #define A_MAX		0x02
CVSspam 0.2.8