mirror of
https://github.com/reactos/reactos.git
synced 2025-07-16 04:34:03 +00:00
- Implement CMD /D, /Q, and /R switches
- Do %envvar% expansions in CMD /C or /K commands - Make SETLOCAL recognize ENABLEEXTENSIONS and DISABLEEXTENSIONS, although it doesn't do anything yet - Make VERIFY set the errorlevel (documented in SETLOCAL /?). Also make it recognize when ON/OFF is followed by space - Make ECHOSERR actually print to stderr, not stdout - Make echoed display of ( ... ) blocks look nicer (Bug 4022) - Fix some other minor display bugs svn path=/trunk/; revision=40244
This commit is contained in:
parent
65d9fbc726
commit
db8815a497
9 changed files with 139 additions and 106 deletions
|
@ -293,9 +293,10 @@ BOOL Batch (LPTSTR fullname, LPTSTR firstword, LPTSTR param, PARSED_COMMAND *Cmd
|
|||
|
||||
/* JPP 19980807 */
|
||||
/* Echo batch file line */
|
||||
if (bEcho && Cmd->Type != C_QUIET)
|
||||
if (bEcho && !bDisableBatchEcho && Cmd->Type != C_QUIET)
|
||||
{
|
||||
ConOutChar(_T('\n'));
|
||||
if (!bIgnoreEcho)
|
||||
ConOutChar(_T('\n'));
|
||||
PrintPrompt();
|
||||
EchoCommand(Cmd);
|
||||
ConOutChar(_T('\n'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue