reactos/base/shell/cmd
Andrew Dent bea6d7635a
[CMD] Tweak comment for %TIME% format (#5499)
- Precisely describe `time` format, based on CLDR standard:
  http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
- Had spent time verifying the behavior on Windows and ReactOS,
  this strict definition may be helpful for future researchers.
2023-08-04 01:34:24 +03:00
..
lang [CMD][SDK][WINSRV] DIR command: Consider double-width characters (#5442) 2023-07-17 07:03:22 +09:00
res
alias.c
assoc.c
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 [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
beep.c
call.c
choice.c [REACTOS] Add '\n' to debug logs 2022-05-04 03:28:38 +03:00
cls.c
CMakeLists.txt [CMD] Improve performance a bit 2021-06-24 15:03:36 +02:00
cmd.c [CMD] Correctly honour the "short" path flag in %~var enhanced variables expansion. (#5433) 2023-07-14 14:36:55 +02:00
cmd.h
cmd.rc [CMD] Add Portuguese Brazilian (pt-BR) translation (#4957) 2023-06-26 20:22:10 +03:00
cmddbg.c
cmddbg.h
cmdinput.c [REACTOS] Fix a number of MSVC warnings 2021-07-23 22:03:48 +02:00
cmdtable.c
cmdver.h
color.c
config.h
console.c [CMD][SDK][WINSRV] DIR command: Consider double-width characters (#5442) 2023-07-17 07:03:22 +09:00
console.h [CMD][SDK][WINSRV] DIR command: Consider double-width characters (#5442) 2023-07-17 07:03:22 +09:00
copy.c [CMD] Fix build. Addendum to 67ac583b5. 2022-09-25 23:59:18 +02:00
ctty.c [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
date.c
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
filecomp.c
files.txt
for.c
free.c
goto.c
history.c
history.txt
if.c
internal.c
license.txt
locale.c [CMD] Tweak comment for %TIME% format (#5499) 2023-08-04 01:34:24 +03:00
memory.c
misc.c
mklink.c
move.c
msgbox.c
parser.c
path.c
pause.c
precomp.h
prompt.c
readme.txt
readme2.txt [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
redir.c
ren.c
ren.txt [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
replace.c
resource.h
screen.c
set.c
setlocal.c
shift.c
start.c
strtoclr.c
time.c
timer.c [REACTOS] Add '\n' to debug logs 2022-05-04 03:28:38 +03:00
title.c
todo.txt
type.c
ver.c
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

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