reactos/base/shell/cmd
Timo Kreuzer b707be90a1 [REACTOS] Use standard conforming names
- Use _alloca instead of non-standard alloca
- Use _TCHAR instead of non-standard TCHAR
- Use _off_t instead of deprecated off_t
- Use _O_BINARY instead of O_BINARY
2024-10-20 14:12:25 +03:00
..
lang [CMD] Improve Japanese (ja-JP) translation 2024-07-11 12:36:47 +09:00
res
alias.c
assoc.c [CMD] Prepare for localization by using resource strings (#7125) 2024-07-11 09:12:12 +09:00
batch.c [CMD] Batch: Don't ClearBatch if bSameFn (#7112) 2024-07-17 08:34:15 +09:00
batch.h [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
beep.c
call.c [CMD] Prepare for localization by using resource strings (#7125) 2024-07-11 09:12:12 +09:00
choice.c [REACTOS] Add '\n' to debug logs 2022-05-04 03:28:38 +03:00
cls.c
CMakeLists.txt [CMD][CMDUTILS][REPLACE] Make 'replace' command external (#7097) 2024-07-09 04:30:43 +09:00
cmd.c [CMD] Implement /F[:ON|:OFF] switch for file/path completion (#7118) 2024-07-10 16:58:28 +02:00
cmd.h [CMD] Fix GetPathCase function (#7113) 2024-07-17 08:38:33 +09:00
cmd.rc [CMD] Add Portuguese Brazilian (pt-BR) translation (#4957) 2023-06-26 20:22:10 +03:00
cmddbg.c
cmddbg.h
cmdinput.c [CMD][BOOTDATA] Populate 'Command Processor' registry data (#7114) 2024-07-09 22:40:22 +09:00
cmdtable.c [CMD][CMDUTILS][REPLACE] Make 'replace' command external (#7097) 2024-07-09 04:30:43 +09:00
cmdver.h
color.c
config.h [CMD][CMDUTILS][REPLACE] Make 'replace' command external (#7097) 2024-07-09 04:30:43 +09:00
console.c [CMD] Convert to explicitly unicode 2024-08-25 16:17:17 +03:00
console.h [CMD] Fix missing/misplaced newlines at end of displayed errors and prompts. 2023-11-16 17:06:40 +01:00
copy.c [CMD] Fix build. Addendum to 67ac583b5. 2022-09-25 23:59:18 +02:00
ctty.c [CMD] Prepare for localization by using resource strings (#7125) 2024-07-11 09:12:12 +09:00
date.c [CMD] DATE: Output 'The current date is: ' (#7117) 2024-07-10 11:53:21 +09:00
del.c
delay.c
dir.c [CMD][SDK][WINSRV] DIR command: Consider double-width characters (#5442) 2023-07-17 07:03:22 +09:00
dirstack.c
echo.c
error.c [CMD] Convert to explicitly unicode 2024-08-25 16:17:17 +03: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
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 [CMD] DATE: Simply use short date without weekday (#7116) 2024-07-09 20:50:51 +09:00
memory.c
misc.c [CMD] Fix GetPathCase function (#7113) 2024-07-17 08:38:33 +09:00
mklink.c
move.c
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 [CMD] Support dynamic trace (#7093) 2024-07-09 04:25:30 +09:00
prompt.c [CMD][BOOTDATA] Minor improvements (#5745) 2024-05-09 10:03:43 -06:00
readme.txt
readme2.txt [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
redir.c
ren.c [CMD] Fix missing/misplaced newlines at end of displayed errors and prompts. 2023-11-16 17:06:40 +01:00
ren.txt [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
resource.h [CMD] Prepare for localization by using resource strings (#7125) 2024-07-11 09:12:12 +09:00
screen.c
set.c [REACTOS] Use standard conforming names 2024-10-20 14:12:25 +03:00
setlocal.c
shift.c
start.c [CMD] Fix missing/misplaced newlines at end of displayed errors and prompts. 2023-11-16 17:06:40 +01:00
strtoclr.c
time.c [CMD] Fix missing/misplaced newlines at end of displayed errors and prompts. 2023-11-16 17:06:40 +01:00
timer.c [REACTOS] Add '\n' to debug logs 2022-05-04 03:28:38 +03:00
title.c
todo.txt
trace.c [CMD] Dynamic Trace: Add Hans Harder's e-mail address 2024-07-09 07:45:54 +09:00
type.c [CMD] Fix missing/misplaced newlines at end of displayed errors and prompts. 2023-11-16 17:06:40 +01:00
ver.c [CMD][BOOTDATA] Minor improvements (#5745) 2024-05-09 10:03:43 -06:00
verify.c
vol.c
wcwidth.c [CMD][SDK][WINSRV] DIR command: Consider double-width characters (#5442) 2023-07-17 07:03:22 +09:00
where.c [CMD] Use GetFullPathName instead of copying buffers when resolving executable names 2021-06-09 11:23:39 +02:00
window.c [CMD] Fix missing/misplaced newlines at end of displayed errors and prompts. 2023-11-16 17:06:40 +01:00

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