Commit Graph

243 Commits

Author SHA1 Message Date
Jason Edmeades 926da13e56 cmd.exe: Move writing to console into a single function. 2007-06-04 14:11:50 +02:00
Jason Edmeades 5cc492c783 cmd.exe: Move English constants into NLS files. 2007-06-04 14:10:04 +02:00
Jason Edmeades 68b11d1290 cmd.exe: Support for DEL filename /s. 2007-04-24 11:53:13 +02:00
Jason Edmeades ce87522f84 cmd.exe: Implement a basic 'more'.
This implements a basic more, eg 'dir | more' or 'more file.c'
but it does not support the flags or keys which can control it.
Basically its not worth implementing those, as in some modes
we cannot read a single key, we have to wait for <enter> anyway.
2007-04-16 12:24:49 +02:00
Jason Edmeades 53c05cb534 cmd.exe: Fix regression when launching a fully qualified program. 2007-04-12 16:38:45 +02:00
Jason Edmeades fc8a9a20c6 cmd.exe: Make dir support multiple parameters. 2007-04-06 12:31:08 +02:00
Jason Edmeades 5704b4bec9 cmd.exe: Attempt to launch pgm even if fails to locate it. 2007-04-06 12:31:08 +02:00
Jason Edmeades b573f68b36 cmd.exe: Only search for supplied command as-is if it includes an extension.
Files with no extensions cannot be run as-is. This enables a directory
with 'fred' and 'fred.bat' to correctly run fred.bat if just fred is
executed.
2007-04-06 12:31:08 +02:00
Alexander Farber 6ae5814623 cmd: Enlarge max. length of PATH variable. 2007-03-29 21:02:17 +02:00
Alexandre Julliard 7c1418ae2c cmd: Fix a compiler warning. 2007-03-16 13:02:06 +01:00
Jason Edmeades a801995cdb cmd.exe: Add 2>&1 and 1>&2 support. 2007-03-13 12:02:40 +01:00
Jason Edmeades 4ef2f8ba1a cmd.exe: Add TYPE multiple file support. 2007-03-13 12:02:29 +01:00
Jason Edmeades 085c0f4a3a cmd.exe: Add support for stderr redirection to a file. 2007-03-13 12:02:17 +01:00
Jason Edmeades d0db751e0c cmd.exe: Save initial working directory. 2007-03-13 11:58:38 +01:00
Jason Edmeades 9e041c6bc9 cmd.exe: Add support for FTYPE. 2007-03-13 11:58:19 +01:00
Francois Gouget 540d8186df cmd: Fix compilation on systems that don't support nameless unions. 2007-03-12 12:08:33 +01:00
Jason Edmeades 612dc9d35d cmd.exe: Support SHIFT /n option. 2007-03-08 13:38:27 +01:00
Jason Edmeades 2b03d7d75f cmd.exe: Add support for working directories per drive. 2007-03-08 13:36:28 +01:00
Jason Edmeades e5a26bc24d cmd.exe: Support PUSHD with wildcards. 2007-03-08 13:34:32 +01:00
Jason Edmeades eb6d084fd6 cmd.exe: Support unquoted directories in CD command. 2007-03-08 13:33:10 +01:00
Jason Edmeades b9265bc3a9 cmd.exe: Support default colours for wineconsole. 2007-03-08 13:32:20 +01:00
Jason Edmeades 00ad4c5317 cmd.exe: Add cmd.exe /T option. 2007-03-08 13:30:27 +01:00
Jason Edmeades e37463fab5 cmd.exe: Add COLOR command. 2007-03-08 13:30:20 +01:00
Jason Edmeades 9e518dc79d cmd.exe: Fix stdio redirects. 2007-03-05 12:59:12 +01:00
Jason Edmeades a97d1200f3 cmd.exe: Add support for del file1 file2. 2007-03-05 12:58:07 +01:00
Jason Edmeades 79aa1a009f cmd.exe: Add ASSOC command. 2007-03-05 12:56:48 +01:00
Jason Edmeades 8049ae1af8 cmd.exe: PROMPT option to show pushd levels. 2007-03-05 12:56:09 +01:00
Jason Edmeades 00ba810dbf cmd.exe: Additional PROMPT options. 2007-03-05 12:56:04 +01:00
Jason Edmeades 0efa91de15 cmd.exe: Support rd dir1 dir2. 2007-03-05 12:55:47 +01:00
Alexandre Julliard abfe105c2f cmd: Fix silly local variables indentation that breaks diff -p. 2007-03-01 12:43:19 +01:00
Alexander Farber fdeb6d5ae5 cmd: Fixed 3 buffer overflows when fetching environment variables. 2007-03-01 12:38:28 +01:00
Jason Edmeades 3232e61b94 cmd.exe: Locate programs more correctly. 2007-02-27 12:29:33 +01:00
Jason Edmeades 54ba046ad5 cmd.exe: Allow special named env vars to be modified. 2007-02-27 12:26:48 +01:00
Jason Edmeades 3ab449c96a cmd.exe: Add special SET modifiers. 2007-02-26 13:52:23 +01:00
Jason Edmeades e8fa5df394 cmd.exe: Add %random% special name support. 2007-02-26 13:50:36 +01:00
Jason Edmeades 98ae8a6941 cmd.exe: Unify parsing and expansion. 2007-02-26 13:50:21 +01:00
Jason Edmeades 327d7ef9e6 cmd.exe: Add support for call :label and goto :label. 2007-02-26 13:49:21 +01:00
Jason Edmeades 365f86fd7e cmd.exe: Add pushd and popd. 2007-02-26 13:45:48 +01:00
Alexandre Julliard cdca32c12e cmd: Remove execute permission on source files. 2007-02-23 12:51:55 +01:00
Jason Edmeades 938719062d cmd.exe: Add support for %ERRORLEVEL% in both batch and cmd line. 2007-02-21 11:48:06 +01:00
Jason Edmeades 3bdb64149b cmd.exe: Support return code if fail to launch program. 2007-02-21 11:47:11 +01:00
Jason Edmeades c36664891c cmd.exe: Support exit [/b] returncode. 2007-02-21 11:42:43 +01:00
Dan Kegel 39857443e4 programs/wcmd: Rename to programs/cmd. 2006-09-07 15:08:44 +02:00