Commit Graph

107 Commits

Author SHA1 Message Date
Frédéric Delanoy 4b4dd300f6 cmd: Avoid excess newline after TYPE outputs file contents. 2011-07-15 17:07:51 +02:00
Dan Kegel 32ea7d1f2e cmd: WCMD_delete: fix /s for dirnames containing spaces, add test. 2011-06-02 17:24:58 +02:00
Dan Kegel 3ccfbaef70 cmd: WCMD_delete: move "Delete *.* ?" processing into WCMD_delete_confirm_wildcard. 2011-05-31 18:32:59 +02:00
Dan Kegel ff1e7038b2 cmd: del /a: test deleting readonly files, with fix. 2011-05-24 13:26:04 +02:00
Dan Kegel 65b27c9ecd cmd: del /a: move parsing of attributes to helper function, use bitmasks. 2011-05-24 13:25:46 +02:00
Detlef Riekenberg f29674e86f cmd: Do not reset errorlevel during SET. 2010-12-20 12:47:42 +01:00
Detlef Riekenberg 7045e478a8 cmd: Add CHOICE builtin with DOS6 to XP commandline parameter. 2010-12-20 12:47:41 +01:00
Detlef Riekenberg d62c6bb77f cmd: Allow GOTO to a label which has a following whitespace, with test. 2010-12-13 12:43:33 +01:00
Jason Edmeades 32c8b46633 cmd: echo.word should echo back the word without the . 2010-09-08 19:49:30 +02:00
Gerald Pfeifer 0d527532fa cmd: Remove variable copyFromDir which is not really used from WCMD_copy. 2010-05-10 10:12:03 +02:00
Gerald Pfeifer 5b0de0d569 cmd: Remove variable useinput which is not really used from WCMD_more. 2010-05-05 10:52:51 +02:00
Gerald Pfeifer 02a0bd3a00 cmd: Remove variable doRecursive which is not really used from WCMD_for. 2010-05-03 15:35:11 +02:00
Nikolay Sivov e22f6aa6e3 cmd: Ignore spaces before goto label. 2010-03-24 19:02:06 +01:00
Arjun Comar a607f53779 cmd: Fix cmd to take /? as a help parameter. 2010-03-04 17:31:05 +01:00
Dan Kegel 8110dde8ae cmd: Fix 'else', with tests. 2010-02-18 12:43:00 +01:00
Dan Kegel 15998c2bdb cmd: Size buffer in create_full_path() correctly. 2010-02-03 11:07:14 +01:00
Trey Hunner afb374b7aa cmd: Add support for 'if /i'. 2010-02-02 11:59:33 +01:00
Alexandre Julliard 79b00726f2 cmd: Use the explicit name for all A/W function. 2009-12-09 18:52:40 +01:00
Andrew Nguyen 203c538aaa cmd: Fix copy option handling in batch mode. 2009-10-06 11:51:57 +02:00
Dan Kegel 81e5c76a5f cmd: Improve 'attrib' builtin to handle at least setting/clearing single attributes. 2009-09-25 14:00:17 +02:00
André Hentschel 765d9a1411 wcmd: Ignore start and end quotes. 2009-08-29 16:48:52 +02:00
Juan Lang 9c7ded0973 wcmd: Only execute non-empty commands. 2009-08-13 11:45:04 +02:00
Francois Gouget 0c01b71a4e cmd: Replace malloc() with HeapAlloc(). 2009-06-15 13:42:30 +02:00
Nikolay Sivov 2dd1b3b636 cmd: Reserve a place in buffer for NULL terminator. 2009-02-18 15:00:22 +01:00
Nikolay Sivov 78f38a742f cmd: Always add a new line in 'type' output on single file mode. 2009-02-18 15:00:04 +01:00
Francois Gouget e7b125702f cmd: Make WCMD_ask_confirm() static. 2009-01-06 10:09:37 +01:00
Christian Costa 656b627340 cmd.exe: Use WCMD_CURRENTTIME resource to show the time. 2008-12-30 13:40:36 +01:00
Francois Gouget 8a18e0e43a Assorted spelling fixes. 2008-04-07 13:36:18 +02:00
Jason Edmeades 4492334762 cmd.exe: Support cd .. when saving current directory. 2008-03-04 11:54:21 +01:00
Jason Edmeades 84f02a6ab2 cmd.exe: Fix pipes. 2008-03-04 11:54:21 +01:00
Francois Gouget 4c8e218252 Assorted spelling fixes. 2008-02-15 12:09:24 +01:00
Lance Jackson d56217e98e cmd: Fix some unclosed file and registry handles. 2008-01-04 12:12:51 +01:00
Dmitry Potapov f918d175af cmd: copy: Fix "Path not found" error. 2007-10-15 16:56:03 +02:00
Jason Edmeades 1ee75382c7 cmd.exe: Fix redirect ordering on a command line. 2007-09-12 12:40:16 +02:00
Jason Edmeades c7b88e95f5 cmd.exe: Add basic support for FOR /F parsing launched programs output. 2007-09-12 12:40:02 +02:00
Jason Edmeades f3ae48cbda cmd.exe: Add basic for /F string support. 2007-09-12 12:39:54 +02:00
Jason Edmeades bcaf4fb43f cmd.exe: Add suport for if 1==1 echo yes. 2007-09-12 12:39:41 +02:00
Jason Edmeades b69241124e cmd.exe: Expand for variables at last with tilda modifications. 2007-09-12 12:39:21 +02:00
Jason Edmeades dc372175d4 cmd.exe: Enhance FOR support. 2007-09-12 12:38:17 +02:00
Marcus Meissner 28ca9a8658 cmd.exe: WCMD_for is only for files. 2007-08-13 11:39:11 +02:00
Jason Edmeades 8e08983e5f cmd: Fix comment to accurately reflect the function. 2007-07-30 15:01:46 +02:00
Jason Edmeades a766ba0570 cmd: Add support for wildcards in copy. 2007-07-30 15:01:41 +02:00
Anatoly Lyutin 24866e7906 cmd: Use toupperW instead of toupper. 2007-07-11 11:59:48 +02:00
Francois Gouget a3317a5c01 Assorted spelling fixes. 2007-07-05 19:56:34 +02:00
Michael Stefaniuc 6519a83de4 cmd: Remove superfluous casts of void pointers to other pointer types. 2007-06-27 12:53:16 +02:00
Jason Edmeades 196fb10c32 cmd.exe: for loop by default only matches files. 2007-06-18 14:25:13 +02:00
Jason Edmeades 54d890ca1e cmd.exe: Fix FOR so it works as 'well' as before. 2007-06-18 14:24:59 +02:00
Jason Edmeades d2e7b401a2 cmd.exe: Support IF..ELSE processing tolerate multiline/part lines. 2007-06-18 14:24:23 +02:00
Jason Edmeades d2474dece3 cmd.exe: EXIT /b skips any residual commands. 2007-06-18 14:23:23 +02:00
Jason Edmeades 929a92f3c4 cmd.exe: GOTO throws away any preloaded multi part/line command. 2007-06-18 14:22:57 +02:00