reactos/base/shell/cmd
Hermès Bélusca-Maïto 6e09a6a3ff
[CMD] Use kernel32!lstrcmp(i) when comparing strings with the IF command.
Use kernel32!lstrcmp(i) instead of CRT!_tcs(i)cmp, so as to use the correct
current thread locale information when comparing user-specific strings.
As a result, the following comparison: 'b LSS B' will return TRUE,
instead of FALSE as it would be by using the CRT functions (and by
naively considering the lexicographical order in ANSI).
This behaviour has been introduced in Windows 2000 onwards.
2020-08-19 20:36:05 +02:00
..
lang [CMD] Improve RMDIR help and MD error message. 2020-08-19 20:36:04 +02:00
res
alias.c
assoc.c
batch.c [CMD] Additional fixes for ERRORLEVEL and last returned exit code from EXIT, CALL commands and CMD. 2020-08-19 20:36:03 +02:00
batch.h [CMD] Fixes for Batch error execution control flow. 2020-08-19 20:35:58 +02:00
beep.c
call.c [CMD] Additional fixes for ERRORLEVEL and last returned exit code from EXIT, CALL commands and CMD. 2020-08-19 20:36:03 +02:00
choice.c
cls.c
CMakeLists.txt [CMD] Remove deprecated definition in CMakeLists.txt. 2020-08-19 20:35:52 +02:00
cmd.c [CMD] Additional fixes for ERRORLEVEL and last returned exit code from EXIT, CALL commands and CMD. 2020-08-19 20:36:03 +02:00
cmd.h [CMD] GOTO: Fix label parsing. 2020-08-19 20:36:01 +02:00
cmd.rc
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
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] Improve the way the ErrorMessage() helper and the MKDIR and RMDIR commands report their errors. 2020-08-19 20:36:05 +02:00
filecomp.c
files.txt
for.c [CMD] Syntax errors during parsing of batch parameters expansion, or FOR and IF commands, are fatal, and batch execution should stop. 2020-08-19 20:35:59 +02:00
free.c
goto.c [CMD] GOTO: Fix label parsing. 2020-08-19 20:36:01 +02:00
history.c
history.txt
if.c [CMD] Use kernel32!lstrcmp(i) when comparing strings with the IF command. 2020-08-19 20:36:05 +02:00
internal.c [CMD] Improve the way the ErrorMessage() helper and the MKDIR and RMDIR commands report their errors. 2020-08-19 20:36:05 +02:00
license.txt
locale.c
memory.c
misc.c [CMD] Fix the stop-batch prompt appearance: do not display it more than once in a row. 2020-05-18 02:21:57 +02:00
mklink.c
move.c
msgbox.c
parser.c [CMD] GOTO: Fix label parsing. 2020-08-19 20:36:01 +02:00
path.c
pause.c
precomp.h
prompt.c [CMD] If the prompt displays the information line on top of the screen, ensure that the prompt won't be hidden below it. 2019-12-29 19:14:03 +01:00
readme.txt
readme2.txt
redir.c
ren.c
ren.txt
replace.c
resource.h [LABEL][CMD] Convert the label command to a standalone executable 2019-09-22 14:51:23 +02:00
screen.c
set.c [CMD] Fix the output of the SET command. 2020-08-19 20:36:04 +02:00
setlocal.c
shift.c
start.c
strtoclr.c
time.c
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
ver.c
verify.c
vol.c [CMD] Fix the ErrorMessage() function. 2020-05-18 02:21:56 +02:00
where.c
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