reactos/base/shell/cmd
Jérôme Gardou aae161d061 [CMD] Do not use an intermediate buffer when reading lines from batch files
This is easier on the heap and improves cmd:batch winetest nicely
2021-06-24 15:03:36 +02:00
..
lang [CMD] de-DE: Fix 'Paramater' typo 2021-04-11 09:30:28 +03:00
res
alias.c
assoc.c [CMD] ASSOC: Simplify the code and make it more robust; fix returned ERRORLEVEL values. 2020-09-23 00:22:47 +02:00
batch.c [CMD] Do not use an intermediate buffer when reading lines from batch files 2021-06-24 15:03:36 +02:00
batch.h [CMD] Add a MSCMD_BATCH_ECHO define for enabling Windows' CMD.EXE way of preserving/restoring the echo flag across batch calls. 2020-09-23 00:22:47 +02:00
beep.c
call.c [CMD] CALL: Fix the implementation of the CALL command, make it more compatible with Windows' CMD. 2020-09-27 19:05:23 +02:00
choice.c
cls.c
CMakeLists.txt [CMD] Improve performance a bit 2021-06-24 15:03:36 +02:00
cmd.c [CMD] Improve performance a bit 2021-06-24 15:03:36 +02:00
cmd.h [CMD] CALL: Fix the implementation of the CALL command, make it more compatible with Windows' CMD. 2020-09-27 19:05:23 +02:00
cmd.rc [CMD] Add new portuguese (PT) translation (#3260) 2020-11-07 17:27:52 +01:00
cmddbg.c
cmddbg.h
cmdinput.c
cmdtable.c [LABEL][CMD] Convert the label command to a standalone executable 2019-09-22 14:51:23 +02:00
cmdver.h
color.c
config.h [LABEL][CMD] Convert the label command to a standalone executable 2019-09-22 14:51:23 +02:00
console.c
console.h
copy.c
ctty.c
date.c [CMD] DATE: Simplify the input loop, based on the TIME command. 2020-08-19 20:36:10 +02:00
del.c [CMD] Fix the ErrorMessage() function. 2020-05-18 02:21:56 +02:00
delay.c
dir.c [CMD] Correctly parse drive-decorated pathname (#2382) 2020-02-26 22:28:02 +09:00
dirstack.c
echo.c
error.c [CMD] Use pointers to const strings in error functions, where applicable. 2020-09-13 22:50:09 +02:00
filecomp.c [CMD] Fix a typo in filename completion (#3293) 2020-10-11 21:57:08 +02:00
files.txt
for.c [CMD] FOR: Additional Windows' CMD compatibility "fixes" for FOR /F token parsing command. 2020-09-21 03:31:01 +02:00
free.c
goto.c [CMD] CALL: Fix the implementation of the CALL command, make it more compatible with Windows' CMD. 2020-09-27 19:05:23 +02:00
history.c [CMD] HISTORY: Fix command output (missing linefeed) (#3205) 2020-09-18 00:17:08 +02:00
history.txt
if.c [CMD] IF: Fix x64 warning C4267. 2020-09-21 03:31:01 +02:00
internal.c [CMD] Make the command-line parser more compatible with Windows' CMD one. 2020-09-27 02:27:15 +02:00
license.txt
locale.c
memory.c
misc.c [CMD] Code formatting for IsValidPathName, IsExistingFile, IsExistingDirectory, and use INVALID_FILE_ATTRIBUTES instead of an hardcoded value. 2020-09-04 00:24:45 +02:00
mklink.c
move.c [CMD] MOVE: Set the errorlevel on failure. 2020-08-19 20:36:07 +02:00
msgbox.c
parser.c [CMD] CALL: Fix the implementation of the CALL command, make it more compatible with Windows' CMD. 2020-09-27 19:05:23 +02:00
path.c [CMD] Change ERRORLEVEL behaviour for commands ASSOC, PATH, PROMPT and SET. 2020-09-23 00:22:46 +02:00
pause.c
precomp.h
prompt.c [CMD] Change ERRORLEVEL behaviour for commands ASSOC, PATH, PROMPT and SET. 2020-09-23 00:22:46 +02:00
readme.txt
readme2.txt
redir.c
ren.c
ren.txt
replace.c [CMD] REPLACE: Fix a memory leak. 2020-08-19 20:36:13 +02:00
resource.h [CMD] PATH, SET: Fix the returned error message when an environment variable does not exist. 2020-08-19 20:36:06 +02:00
screen.c
set.c [CMD] SET: Diverse fixes for the arithmetic-expression parser (/A option). 2020-09-23 00:22:48 +02:00
setlocal.c [CMD] SETLOCAL / ENDLOCAL: Save / Restore as well the current drive and current directory. 2020-08-19 20:36:13 +02:00
shift.c [CMD] SHIFT: Use _istdigit(). 2020-09-13 22:50:10 +02:00
start.c [CMD] Reset the current thread UI language at startup, and when updating the local code page cache. 2021-05-26 01:42:12 +02:00
strtoclr.c
time.c [CMD] TIME: The /T option is available only when extensions are enabled. 2020-08-19 20:36:09 +02:00
timer.c
title.c
todo.txt [CMD] todo.txt: Remove some points that have already been implemented since ages. 2020-08-19 20:35:52 +02:00
type.c [CMD] TYPE: Rewrite the command so as to fix some of its behaviour. 2020-08-19 21:39:22 +02:00
ver.c
verify.c
vol.c [CMD] Fix the ErrorMessage() function. 2020-05-18 02:21:56 +02:00
where.c [CMD] Use GetFullPathName instead of copying buffers when resolving executable names 2021-06-09 11:23:39 +02:00
window.c

ReactOS command line interpreter CMD
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The ReactOS command line interpreter CMD is derived from FreeCOM, the
FreeDOS command line interpreter.

We are shooting mainly to be just like 2000/XP cmd.exe.  They are very close and only a small number(none that i can recall off the top of my head, so maybe 0) differences have been found between those two.  It has been reported that ROS cmd.exe does not work on nt4 because of a missing api.  I'm hoping to fix this at some point.


Compiling
~~~~~~~~~
ROS cmd used to depend on __REACTOS__ to provide two different ways to build cmd.  There is still code left in it for this but...  The __REACTOS__ = 0 has not been develped, maintained.  And therefore it does not even compile anymore.  __REACTOS__ = 1 works fine on both windows(nt). and someday i plan to remove all the __REACTOS__ = 0.

Using rbuild you can compile cmd separately by "make cmd_install".  Also you can compile cmd using MSVC 6 and soon 7/8 hopefully.


Current Features
~~~~~~~~~~~~~~~~
 - environment handling with prompt and path support.
 - directory utilities.
 - command-line history with doskey-like features.
 - batch file processing.
 - input/output redirection and piping.
 - alias support.
 - filename completion (use TAB), both Bash and Windows-CMD style.


Credits
~~~~~~~
FreeDOS developers:
   normat@rpi.edu (Tim Norman)
   mrains@apanix.apana.org.au (Matt Rains)
   ejeffrey@iastate.edu (Evan Jeffrey)
   Steffen.Kaiser@Informatik.TU-Chemnitz.DE (Steffen Kaiser)
   Svante Frey (sfrey@kuai.se)
   Oliver Mueller (ogmueller@t-online.de)
   Aaron Kaufman (morgan@remarque.berkeley.edu)
   Marc Desrochers (bitzero@hotmail.com)
   Rob Lake (rlake@cs.mun.ca)
   John P. Price <linux-guru@gcfl.net>
   Hans B Pufal <hansp@digiweb.com>

ReactOS developers:
   Eric Kohl
   Emanuele Aliberti <ea@iol.it>
   Paolo Pantaleo <paolopan@freemail.it>
   Brandon Turner <turnerb7@msu.edu>


Bugs
~~~~
There are still many bugs ;)
Please report bugs to ReactOS team <ros-dev@reactos.org> or to JIRA at www.reactos.org