reactos/reactos/base/shell/cmd
Roel Messiant 9009dd37ad [DLL]
- Change () to (VOID) in function declarators. Part 4/XX.

svn path=/trunk/; revision=51041
2011-03-13 20:56:27 +00:00
..
lang Bug 5726: PATCH: regedit: Language File skeleton strings (geekdundee<A_T>gmail.com) 2010-11-14 15:22:48 +00:00
res Add 8 bits and 16 bits icons 2007-12-29 16:02:48 +00:00
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 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
batch.c Various fixes to the way cmd handles errorlevel and the "return values" of commands: 2009-04-12 23:51:15 +00:00
batch.h [DLL] 2011-03-13 20:56:27 +00:00
beep.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
call.c Various fixes to the way cmd handles errorlevel and the "return values" of commands: 2009-04-12 23:51:15 +00:00
chcp.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
choice.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
cls.c - Implement CMD /A and /U switches. 2009-03-28 19:36:22 +00:00
cmd.c [CMD] 2010-11-30 16:38:53 +00:00
cmd.h [CMD] 2010-11-30 16:38:53 +00:00
cmd.rbuild [General] 2009-12-02 20:32:16 +00:00
cmd.rc Update/add Spanish and Basque translations. Javier Remacha. Bug #4731. (1/2) 2009-09-10 04:02:22 +00:00
cmddbg.c Fix debug output of strings 2008-05-15 20:29:50 +00:00
cmddbg.h - Fix some warnings spotted by MSVC 2008-05-17 08:49:39 +00:00
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 move explorer and cmd. Add a few .rbuild files 2006-02-16 23:23:37 +00:00
color.c - Implement CMD /A and /U switches. 2009-03-28 19:36:22 +00:00
config.h - Move from using include guards to pragma once. 2010-02-26 11:43:19 +00:00
console.c [CMD] 2010-11-30 16:38:53 +00:00
copy.c [CMD] copy command: 2010-05-29 16:49:23 +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 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
dir.c Fix many incompatibilities in DIR switch parsing, including those noted in Bug 4744. 2009-08-02 15:16:03 +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 [CMD] File completion 2010-05-29 18:01:20 +00:00
files.txt Samuel Erdtman <samuel@erdtman.se> 2007-09-27 08:35:08 +00:00
for.c Various fixes to the way cmd handles errorlevel and the "return values" of commands: 2009-04-12 23:51:15 +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 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
history.txt Remove outdated email address. 2007-05-27 14:50:12 +00:00
if.c Make IF EXIST directory\ (with trailing backslash) work 2009-07-13 18:55:33 +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 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
license.txt - Update address of Free Software Foundation. 2009-10-27 10:34:16 +00:00
locale.c - Implement SHIFT /n. 2009-03-18 03:52:58 +00:00
main.c Fix compiling rostests 2007-08-02 06:59:36 +00:00
memory.c - npapi.h: Correct definitions of function pointer prototypes. 2009-08-02 17:38:27 +00:00
misc.c - npapi.h: Correct definitions of function pointer prototypes. 2009-08-02 17:38:27 +00:00
mklink.c - npapi.h: Correct definitions of function pointer prototypes. 2009-08-02 17:38:27 +00:00
move.c cmd_move: 2009-01-18 20:21:03 +00:00
msgbox.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
parser.c - npapi.h: Correct definitions of function pointer prototypes. 2009-08-02 17:38:27 +00:00
path.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
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 [CMD] 2010-11-30 16:38:53 +00:00
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 Remove outdated email address. 2007-05-27 14:50:12 +00:00
readme2.txt Don't treat a slash as the beginning of a new argument for the MOVE command (Bug 4013). Patch by Víctor Martínez Calvo <vicmarcal at hotmail.com>. 2009-01-17 12:55:46 +00:00
redir.c Make delayed environment-variable expansions actually be delayed. 2009-02-14 01:13:17 +00:00
ren.c Bug closing extravaganza holiday special commit! 2008-11-30 23:08:02 +00:00
ren.txt Bug closing extravaganza holiday special commit! 2008-11-30 23:08:02 +00:00
replace.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
resource.h Replace hard-coded English string constants with translatable resource strings. (Bug 3718) 2009-03-20 23:16:12 +00:00
rsrc.rc Revert the cmd Translation on demand of the author. 2010-07-05 21:10:08 +00:00
screen.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
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 [CMD] 2010-10-06 16:44:09 +00:00
strtoclr.c move explorer and cmd. Add a few .rbuild files 2006-02-16 23:23:37 +00:00
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 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
todo.txt move explorer and cmd. Add a few .rbuild files 2006-02-16 23:23:37 +00:00
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 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
where.c Gimme back mah ftp. 2008-12-01 18:33:55 +00:00
window.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

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