reactos/reactos/base/shell/cmd
2009-04-05 01:50:24 +00:00
..
lang Sync WinHLP32 and WordPad with Wine HEAD. 2009-03-29 23:28:29 +00:00
res
alias.c - FileGetString: Only end line on '\n', not on '\r'. 2009-02-28 18:00:38 +00:00
assoc.c Implement ASSOC command (Bug 4275). Patch by Lee C. Baker <lee at leecbaker.com>. 2009-03-16 18:18:26 +00:00
attrib.c
batch.c - Implement CMD /D, /Q, and /R switches 2009-03-26 01:14:25 +00:00
batch.h - Implement SHIFT /n. 2009-03-18 03:52:58 +00:00
beep.c
call.c Make command parsing in DoCommand/Execute more compatible with Windows 2009-03-29 05:13:35 +00:00
chcp.c
choice.c
cls.c - Implement CMD /A and /U switches. 2009-03-28 19:36:22 +00:00
cmd.c - Simplified code for CD, PUSHD, and POPD commands and also fixed some bugs. 2009-04-05 01:50:24 +00:00
cmd.h - Simplified code for CD, PUSHD, and POPD commands and also fixed some bugs. 2009-04-05 01:50:24 +00:00
cmd.rbuild - Implement MKLINK command. 2009-03-17 22:27:33 +00:00
cmd.rc
cmddbg.c
cmddbg.h
cmdinput.c - Fix cmd's cgetchar() function so it only returns on a key being pressed, not released. 2009-04-01 03:54:45 +00:00
cmdtable.c - Implement MKLINK command. 2009-03-17 22:27:33 +00:00
cmdver.h
color.c - Implement CMD /A and /U switches. 2009-03-28 19:36:22 +00:00
config.h - Implement MKLINK command. 2009-03-17 22:27:33 +00:00
console.c - Fix cmd's cgetchar() function so it only returns on a key being pressed, not released. 2009-04-01 03:54:45 +00:00
copy.c - Properly free a buffer allocated during "copy" command. Fixes cmd.exe crash when copy operation experiences a write error or is being interrupted with a Ctrl+C keypress. 2009-02-19 12:51:57 +00:00
date.c Fixed output of various date/time stuff ($D and $T in prompt, %DATE% and %TIME% variables, DATE /T and TIME /T commands) to be more compatible with Windows. 2009-03-16 00:44:08 +00:00
del.c Give an error message when trying to DEL a file that doesn't exist (Bug 4244). Patch by Victor Martinez <vicmarcal at hotmail.com>. 2009-03-11 02:17:53 +00:00
delay.c
dir.c - Make MEMORY command use GlobalMemoryStatusEx if available, so it can show values >= 4GB. 2009-03-18 18:11:19 +00:00
dirstack.c - Simplified code for CD, PUSHD, and POPD commands and also fixed some bugs. 2009-04-05 01:50:24 +00:00
echo.c - Implement CMD /D, /Q, and /R switches 2009-03-26 01:14:25 +00:00
error.c - Implement CMD /D, /Q, and /R switches 2009-03-26 01:14:25 +00:00
filecomp.c
files.txt
for.c - Implement CMD /D, /Q, and /R switches 2009-03-26 01:14:25 +00:00
free.c - Make MEMORY command use GlobalMemoryStatusEx if available, so it can show values >= 4GB. 2009-03-18 18:11:19 +00:00
goto.c - Allow running a batch file from inside a FOR 2009-03-15 15:45:17 +00:00
history.c
history.txt
if.c - Implement SHIFT /n. 2009-03-18 03:52:58 +00:00
internal.c - Simplified code for CD, PUSHD, and POPD commands and also fixed some bugs. 2009-04-05 01:50:24 +00:00
label.c
license.txt
locale.c - Implement SHIFT /n. 2009-03-18 03:52:58 +00:00
main.c
memory.c - Make MEMORY command use GlobalMemoryStatusEx if available, so it can show values >= 4GB. 2009-03-18 18:11:19 +00:00
misc.c - Fix cmd's cgetchar() function so it only returns on a key being pressed, not released. 2009-04-01 03:54:45 +00:00
mklink.c - Implement MKLINK command. 2009-03-17 22:27:33 +00:00
move.c
msgbox.c
parser.c Make command parsing in DoCommand/Execute more compatible with Windows 2009-03-29 05:13:35 +00:00
path.c
pause.c Remove the "LPTSTR cmd" argument to internal commands; there's no need for a command to be told its own name. It was only used in two places: 2008-08-25 23:22:03 +00:00
precomp.h
prompt.c Fixed output of various date/time stuff ($D and $T in prompt, %DATE% and %TIME% variables, DATE /T and TIME /T commands) to be more compatible with Windows. 2009-03-16 00:44:08 +00:00
readme.txt
readme2.txt
redir.c Make delayed environment-variable expansions actually be delayed. 2009-02-14 01:13:17 +00:00
ren.c
ren.txt
replace.c
resource.h Replace hard-coded English string constants with translatable resource strings. (Bug 3718) 2009-03-20 23:16:12 +00:00
screen.c
set.c SET /A improvements: 2009-02-16 03:00:27 +00:00
setlocal.c - Implement CMD /D, /Q, and /R switches 2009-03-26 01:14:25 +00:00
shift.c - Implement SHIFT /n. 2009-03-18 03:52:58 +00:00
start.c Implement all remaining switches for the START command. 2009-03-23 23:52:50 +00:00
strtoclr.c
time.c Fixed output of various date/time stuff ($D and $T in prompt, %DATE% and %TIME% variables, DATE /T and TIME /T commands) to be more compatible with Windows. 2009-03-16 00:44:08 +00:00
timer.c Fixed output of various date/time stuff ($D and $T in prompt, %DATE% and %TIME% variables, DATE /T and TIME /T commands) to be more compatible with Windows. 2009-03-16 00:44:08 +00:00
title.c
todo.txt
type.c - Improve performance of TYPE command by reading more than 1 byte at a time. (Bug 4057) 2009-02-16 21:50:54 +00:00
ver.c Replace hard-coded English string constants with translatable resource strings. (Bug 3718) 2009-03-20 23:16:12 +00:00
verify.c - Implement CMD /D, /Q, and /R switches 2009-03-26 01:14:25 +00:00
vol.c
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 seperatly 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 unix and windows 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 is still many bugs ;)
Please report bugs to ReactOS team <ros-dev@reactos.org> or to bugzilla at www.reactos.org