mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[CMD]
Fix some people's names presentation svn path=/trunk/; revision=59390
This commit is contained in:
@@ -25,10 +25,10 @@
|
||||
* 24-Jan-1998 Eric Kohl
|
||||
* Redirection safe!
|
||||
*
|
||||
* 02-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 02-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*
|
||||
* 02-Feb-2008 (Christoph von Wittich) <[email protected]>)
|
||||
* 02-Feb-2008 (Christoph von Wittich <[email protected]>)
|
||||
* rewrote alias handling for doskey compat
|
||||
*/
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
* 23-Jan-1999 Eric Kohl
|
||||
* Added handling of multiple filenames.
|
||||
*
|
||||
* 02-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 02-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*/
|
||||
|
||||
|
||||
@@ -212,15 +212,15 @@ void BatchFile2Mem(HANDLE hBatchFile)
|
||||
bc->mem = (char *)cmd_alloc(bc->memsize+1); /* 1 extra for '\0' */
|
||||
|
||||
/* if memory is available, read it in and close the file */
|
||||
if (bc->mem != NULL)
|
||||
if (bc->mem != NULL)
|
||||
{
|
||||
TRACE ("BatchFile2Mem memory %08x - %08x\n",bc->mem,bc->memsize);
|
||||
SetFilePointer (hBatchFile, 0, NULL, FILE_BEGIN);
|
||||
ReadFile(hBatchFile, (LPVOID)bc->mem, bc->memsize, &bc->memsize, NULL);
|
||||
bc->mem[bc->memsize]='\0'; /* end this, so you can dump it as a string */
|
||||
bc->memfree=TRUE; /* this one needs to be freed */
|
||||
}
|
||||
else
|
||||
}
|
||||
else
|
||||
{
|
||||
bc->memsize=0; /* this will prevent mem being accessed */
|
||||
bc->memfree=FALSE;
|
||||
@@ -244,11 +244,11 @@ INT Batch (LPTSTR fullname, LPTSTR firstword, LPTSTR param, PARSED_COMMAND *Cmd)
|
||||
|
||||
HANDLE hFile = 0;
|
||||
SetLastError(0);
|
||||
if (bc && bc->mem)
|
||||
if (bc && bc->mem)
|
||||
{
|
||||
TCHAR fpname[MAX_PATH];
|
||||
GetFullPathName(fullname, sizeof(fpname) / sizeof(TCHAR), fpname, NULL);
|
||||
if (_tcsicmp(bc->BatchFilePath,fpname)==0)
|
||||
if (_tcsicmp(bc->BatchFilePath,fpname)==0)
|
||||
same_fn=TRUE;
|
||||
}
|
||||
TRACE ("Batch: (\'%s\', \'%s\', \'%s\') same_fn = %d\n",
|
||||
@@ -312,7 +312,7 @@ INT Batch (LPTSTR fullname, LPTSTR firstword, LPTSTR param, PARSED_COMMAND *Cmd)
|
||||
|
||||
GetFullPathName(fullname, sizeof(bc->BatchFilePath) / sizeof(TCHAR), bc->BatchFilePath, NULL);
|
||||
/* if a new batch file, load it into memory and close the file */
|
||||
if (!same_fn)
|
||||
if (!same_fn)
|
||||
{
|
||||
BatchFile2Mem(hFile);
|
||||
CloseHandle(hFile);
|
||||
@@ -402,12 +402,12 @@ BOOL BatchGetString (LPTSTR lpBuffer, INT nBufferLength)
|
||||
lpString = lpBuffer;
|
||||
#endif
|
||||
/* read all chars from memory until a '\n' is encountered */
|
||||
if (bc->mem)
|
||||
if (bc->mem)
|
||||
{
|
||||
for (; (bc->mempos < bc->memsize && len < (nBufferLength-1)); len++)
|
||||
{
|
||||
for (; (bc->mempos < bc->memsize && len < (nBufferLength-1)); len++)
|
||||
{
|
||||
lpString[len] = bc->mem[bc->mempos++];
|
||||
if (lpString[len] == '\n' )
|
||||
if (lpString[len] == '\n' )
|
||||
{
|
||||
len++;
|
||||
break;
|
||||
|
||||
@@ -17,7 +17,7 @@ typedef struct tagBATCHCONTEXT
|
||||
INT shiftlevel[10];
|
||||
BOOL bEcho; /* Preserve echo flag across batch calls */
|
||||
REDIRECTION *RedirList;
|
||||
PARSED_COMMAND *current;
|
||||
PARSED_COMMAND *current;
|
||||
struct _SETLOCAL *setlocal;
|
||||
} BATCH_CONTEXT, *LPBATCH_CONTEXT;
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* 20-Jan-1999 (Eric Kohl)
|
||||
* Redirection ready!
|
||||
*
|
||||
* 02-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 02-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*/
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* 20-Jan-1999 (Eric Kohl)
|
||||
* Unicode and redirection safe!
|
||||
*
|
||||
* 02-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 02-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*/
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* 23-Dec-1998 (Eric Kohl)
|
||||
* Started.
|
||||
*
|
||||
* 02-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 02-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*/
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
* 20-Jan-1998 (Eric Kohl)
|
||||
* Redirection ready!
|
||||
*
|
||||
* 02-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 02-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*/
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
* 14-Oct-1999 (Paolo Pantaleo <[email protected]>)
|
||||
* 4nt's syntax implemented.
|
||||
*
|
||||
* 03-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 03-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Move all hardcoded strings in En.rc.
|
||||
*/
|
||||
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
* 20-Jan-1999 (Eric Kohl)
|
||||
* started
|
||||
*
|
||||
* 03-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 03-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*
|
||||
* 01-Jul-2005 (Brandon Turner) <[email protected]>
|
||||
* 01-Jul-2005 (Brandon Turner <[email protected]>)
|
||||
* Added ConPrintfPaging and ConOutPrintfPaging
|
||||
*
|
||||
* 02-Feb-2007 (Paolo Devoti) <devotip at gmail.com>
|
||||
* 02-Feb-2007 (Paolo Devoti <devotip at gmail.com>)
|
||||
* Fixed ConPrintfPaging
|
||||
*/
|
||||
|
||||
|
||||
@@ -20,13 +20,13 @@
|
||||
* 27-Oct-1998 (Eric Kohl)
|
||||
* Disabled prompting when used in batch mode.
|
||||
*
|
||||
* 03-Apr-2005 (Magnus Olsen) <[email protected]>)
|
||||
* 03-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcode string to En.rc
|
||||
*
|
||||
* 13-Jul-2005 (Brandon Turner) <[email protected]>)
|
||||
* 13-Jul-2005 (Brandon Turner <[email protected]>)
|
||||
* Rewrite to clean up copy and support wildcard.
|
||||
*
|
||||
* 20-Jul-2005 (Brandon Turner) <[email protected]>)
|
||||
* 20-Jul-2005 (Brandon Turner <[email protected]>)
|
||||
* Add touch syntax. "copy arp.exe+,,"
|
||||
* Copy command is now completed.
|
||||
*/
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
* 04-Feb-1999 (Eric Kohl)
|
||||
* Fixed date input bug.
|
||||
*
|
||||
* 03-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 03-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*/
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
* 13-Jul-2000 (Eric Kohl)
|
||||
* Implemented 'echo.' and 'echoerr.'.
|
||||
*
|
||||
* 28-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 28-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*/
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
* 02-Feb-1999 (Eric Kohl)
|
||||
* Use FormatMessage() for error reports.
|
||||
*
|
||||
* 28-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 28-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*/
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
* Implemented preservation of echo flag. Some other for related
|
||||
* code in other files fixed, too.
|
||||
*
|
||||
* 28-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 28-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*/
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* 01-Sep-1999 (Eric Kohl)
|
||||
* Started.
|
||||
*
|
||||
* 28-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 28-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*/
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
* 27-Jan-1999 (Eric Kohl)
|
||||
* Added help text ("/?").
|
||||
*
|
||||
* 28-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 28-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*/
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* 19-Jan-1998 (Eric Kohl)
|
||||
* Unicode ready!
|
||||
*
|
||||
* 28-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 28-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*/
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* 01-Sep-1999 (Eric Kohl)
|
||||
* Started.
|
||||
*
|
||||
* 28-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 28-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*/
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
* 06-Nov-1999 (Eric Kohl)
|
||||
* Added PagePrompt() and FilePrompt().
|
||||
*
|
||||
* 30-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 30-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*/
|
||||
|
||||
|
||||
@@ -21,10 +21,10 @@
|
||||
* 03-Feb-1999 (Eric Kohl)
|
||||
* Added "/N" option.
|
||||
*
|
||||
* 30-Apr-2005 (Magnus Olsen) <[email protected]>)
|
||||
* Remove all hardcode string to En.rc
|
||||
* 30-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*
|
||||
* 24-Jun-2005 (Brandon Turner) <[email protected]>)
|
||||
* 24-Jun-2005 (Brandon Turner <[email protected]>)
|
||||
* Fixed bug to allow MS style wildcards + code clean up
|
||||
* added /y and /-y
|
||||
*/
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* 25 Aug 1999
|
||||
* started - Paolo Pantaleo <[email protected]>
|
||||
*
|
||||
* 30-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 30-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*/
|
||||
|
||||
|
||||
@@ -123,7 +123,7 @@ static int ParseToken(TCHAR ExtraEnd, TCHAR *Separators)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Check for numbered redirection */
|
||||
if ((Char >= _T('0') && Char <= _T('9') &&
|
||||
(ParsePos == &ParseLine[1] || IsSeparator(ParsePos[-2]))
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
* 24-Jan-1999 (Eric Kohl)
|
||||
* Fixed Win32 environment handling.
|
||||
*
|
||||
* 30-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 30-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*/
|
||||
#include "precomp.h"
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
* 24-Jan-1999 (Eric Kohl)
|
||||
* Fixed Win32 environment handling.
|
||||
*
|
||||
* 30-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 30-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*/
|
||||
#include "precomp.h"
|
||||
|
||||
@@ -17,10 +17,11 @@
|
||||
* 17-Oct-2001 (Eric Kohl)
|
||||
* Implemented basic rename code.
|
||||
*
|
||||
* 30-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 30-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*
|
||||
* 25-Nov-2008 (Victor Martinez) <[email protected]> Patch dedicated to Myrjala because her comprenhension and love :D
|
||||
* 25-Nov-2008 (Victor Martinez <[email protected]>)
|
||||
* Patch dedicated to Myrjala because her comprenhension and love :D
|
||||
* Fixing following Bugs:
|
||||
* -Wrong behavior with wildcards when Source and Destiny are Paths(FIXED).
|
||||
* -Wrong general behavior (MSDN:"Rename cant move files between subdirectories")(FIXED)
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* 30 Aug 1999
|
||||
* started - Paolo Pantaleo <[email protected]>
|
||||
*
|
||||
* 30-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 30-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
* 25-Feb-1999 (Eric Kohl)
|
||||
* Fixed little bug.
|
||||
*
|
||||
* 30-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 30-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*/
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
*
|
||||
* 1 Feb 2008 (Christoph von Wittich)
|
||||
* started.
|
||||
*/
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
* 20-Jan-1999 (Eric Kohl)
|
||||
* Unicode and redirection safe!
|
||||
*
|
||||
* 30-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 30-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*/
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* 24-Jul-1999 (Eric Kohl)
|
||||
* Started.
|
||||
*
|
||||
* 30-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 30-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*/
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* 04-Feb-1999 (Eric Kohl)
|
||||
* Fixed time input bug.
|
||||
*
|
||||
* 30-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 30-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc.
|
||||
*/
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* History:
|
||||
* 1999-02-11 Emanuele Aliberti
|
||||
*
|
||||
* 30-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 30-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*/
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
* 19-Jan-1999 (Paolo Pantaleo <[email protected]>)
|
||||
* Added multiple file support (copied from y.c)
|
||||
*
|
||||
* 30-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 30-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*/
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* 20-Jan-1999 (Eric Kohl)
|
||||
* Unicode and redirection ready!
|
||||
*
|
||||
* 30-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 30-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*/
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* activate and window in a single file using mainly the same code
|
||||
* (nice size optimization :)
|
||||
*
|
||||
* 30-Apr-2005 (Magnus Olsen) <[email protected]>
|
||||
* 30-Apr-2005 (Magnus Olsen <[email protected]>)
|
||||
* Remove all hardcoded strings in En.rc
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user