Commit Graph

84 Commits

Author SHA1 Message Date
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
Jason Edmeades 8f12d8bde3 cmd.exe: Pass the command list through so it is available to built in commands. 2007-06-18 14:22:43 +02:00
Alexandre Julliard abc5fefada cmd.exe: Silence a FIXME. 2007-06-08 12:54:21 +02:00
Jason Edmeades afe4d80a5e cmd.exe: Fix 'help garbage' command post-unicode support. 2007-06-04 14:44:57 +02:00
Jason Edmeades b8aa5fc586 cmd.exe: Convert cmd to Unicode. 2007-06-04 14:44:46 +02:00
Jason Edmeades 5cc492c783 cmd.exe: Move English constants into NLS files. 2007-06-04 14:10:04 +02:00
Francois Gouget 5a8fc34033 Assorted spelling fixes. 2007-04-30 12:35:11 +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 2f5bfc0f78 cmd.exe: Add prompting and COPYCMD plus /Y support to move. 2007-04-12 16:38:35 +02:00
Jason Edmeades d0a6fe101a cmd.exe: Add move support for wildcards and directories. 2007-04-12 16:38:24 +02:00
Jason Edmeades 32fc366955 cmd.exe: Add support for move with simple wildcards. 2007-04-12 16:38:13 +02:00
Stefan Huehner 4d1d01f266 Mark several functions as static. 2007-03-13 13:35:12 +01:00
Jason Edmeades 87f0293657 cmd.exe: Make SET have correct errorlevel. 2007-03-13 12:03:03 +01:00
Jason Edmeades 4b1ef917bc cmd.exe: Add SET /P support. 2007-03-13 12:02:55 +01:00
Jason Edmeades 4ef2f8ba1a cmd.exe: Add TYPE multiple file support. 2007-03-13 12:02:29 +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 ffbaedef51 cmd.exe: Add support for CD /D. 2007-03-08 13:37:43 +01:00
Jason Edmeades 86140e3fbb cmd.exe: setlocal and endlocal should preserve drive and directory. 2007-03-08 13:37:10 +01:00
Jason Edmeades d1317f5578 cmd.exe: Hide new internal vars during SET. 2007-03-08 13:36:40 +01:00
Jason Edmeades 2b03d7d75f cmd.exe: Add support for working directories per drive. 2007-03-08 13:36:28 +01:00
Jason Edmeades b6ed73b1ac cmd.exe: Support TIME /T option. 2007-03-08 13:35:06 +01:00