- Add a newline to the output of the echo command
- Remove debug stuff

svn path=/trunk/; revision=56471
This commit is contained in:
Timo Kreuzer 2012-05-01 21:00:16 +00:00
parent 04406cf0e4
commit 9f40ffd806
3 changed files with 2 additions and 4 deletions

View file

@ -582,7 +582,6 @@ INT cmd_copy(LPTSTR param)
/* If no destination was entered then just use /* If no destination was entered then just use
the current directory as the destination */ the current directory as the destination */
GetCurrentDirectory(MAX_PATH, szDestPath); GetCurrentDirectory(MAX_PATH, szDestPath);
printf("szDestPath = %S\n", szDestPath);
} }
else else
{ {
@ -647,7 +646,6 @@ INT cmd_copy(LPTSTR param)
{ {
/* Something's seriously wrong! */ /* Something's seriously wrong! */
UseThisName = szDestPath; UseThisName = szDestPath;
printf("\n##########\n\n");
} }
do do
@ -677,7 +675,6 @@ INT cmd_copy(LPTSTR param)
_tcsncat(szSrcPath, appendPointer, 1); _tcsncat(szSrcPath, appendPointer, 1);
appendPointer++; appendPointer++;
} }
printf("szSrcPath = %S\n\n", szSrcPath);
if (_tcschr(arg[nSrc], _T(',')) != NULL) if (_tcschr(arg[nSrc], _T(',')) != NULL)
{ {

View file

@ -83,6 +83,7 @@ INT CommandEcho (LPTSTR param)
{ {
/* skip the first character */ /* skip the first character */
ConOutPuts(param + 1); ConOutPuts(param + 1);
ConOutPuts("\n");
} }
return 0; return 0;
} }

View file

@ -128,7 +128,7 @@ INT cmd_type (LPTSTR param)
} }
} }
ConOutPrintf(_T("\n")); ConOutPuts(_T("\n"));
CloseHandle(hFile); CloseHandle(hFile);
} }