Alexandre Goujon
|
4cd2a0e542
|
cmd: Add a space at the end of the first echo'ed batch line.
|
2010-11-08 18:13:36 +01:00 |
Michael Stefaniuc
|
71e647fe51
|
cmd: Don't treat all command lines with '/?' as builtin commands.
|
2010-06-22 11:22:55 +02:00 |
Yann Droneaud
|
727df7a2ef
|
cmd: Fixed uninitialised field in WCMD_addCommand() (Valgrind).
|
2010-03-15 13:42:08 +01:00 |
Arjun Comar
|
a607f53779
|
cmd: Fix cmd to take /? as a help parameter.
|
2010-03-04 17:31:05 +01:00 |
Paul Vriens
|
4064efdc27
|
cmd: Fix a memory leak (Valgrind).
|
2010-02-23 12:06:51 +01:00 |
Dan Kegel
|
b6e8e13599
|
cmd: Fix echoing of multiline commands.
|
2010-01-04 11:41:28 +01:00 |
Dan Kegel
|
27235ecb65
|
cmd: Echoed prompts are preceded by a blank line.
|
2010-01-04 11:41:28 +01:00 |
Andrew Nguyen
|
f06cb3e6c0
|
cmd: Set the PROMPT environment variable on startup.
|
2009-12-31 12:12:18 +01:00 |
Austin English
|
cc72c4d346
|
cmd: Use DOS newlines, not UNIX.
|
2009-12-23 14:27:31 +01:00 |
Alexandre Julliard
|
79b00726f2
|
cmd: Use the explicit name for all A/W function.
|
2009-12-09 18:52:40 +01:00 |
Marcus Meissner
|
f62218fc66
|
cmd: Break out of the argument scan loop (Coverity).
|
2009-12-04 14:34:58 +01:00 |
Peter Dons Tychsen
|
a78ccf1160
|
cmd: Fix handling of quotes when line includes redirections and/or pipes.
|
2009-10-08 14:00:00 +02:00 |
André Hentschel
|
765d9a1411
|
wcmd: Ignore start and end quotes.
|
2009-08-29 16:48:52 +02:00 |
Francois Gouget
|
0c01b71a4e
|
cmd: Replace malloc() with HeapAlloc().
|
2009-06-15 13:42:30 +02:00 |
Francois Gouget
|
c48e5e048f
|
cmd: Introduce a WCMD_strsubstW() function to simplify string substitutions.
|
2009-06-15 13:42:29 +02:00 |
James Hawkins
|
474276d569
|
cmd: Fix a memory leak (Coverity 904).
|
2009-03-23 18:21:05 +01:00 |
Diaa Sami
|
8ea1a12ed6
|
cmd: Fixed a number of buffer overflows.
|
2009-03-03 14:03:48 +01:00 |
Erich Hoover
|
4691cc4f85
|
wcmd: Properly cleanup redirects when there are no in/out/error pipes.
|
2009-02-12 11:54:02 +01:00 |
Erich Hoover
|
8defde719a
|
wcmd: Fix redirecting a pipe to another pipe.
|
2009-01-13 16:39:18 +01:00 |
Erich Hoover
|
423929ad10
|
wcmd: Handle batch scripts containing quotes within quotes.
|
2009-01-13 16:39:13 +01:00 |
Francois Gouget
|
e46d25a661
|
cmd: Make some functions static.
|
2009-01-06 10:09:37 +01:00 |
Francois Gouget
|
6b16d0229d
|
cmd: WCMD_strtrim_trailing_spaces() is unused so remove it.
|
2009-01-06 10:09:37 +01:00 |
Alexandre Julliard
|
854c9b2089
|
cmd.exe: Don't use wvsprintf on sysv-style varargs, use a libwine function instead.
|
2009-01-03 11:38:26 +01:00 |
Alexandre Julliard
|
aa6f1c730a
|
cmd: Don't include time.h before winsock.h to avoid conflicts.
|
2008-12-31 20:05:33 +01:00 |
Francois Gouget
|
3d070ff8a6
|
cmd: Reorder some functions to avoid forward declarations.
|
2008-12-31 12:28:02 +01:00 |
Francois Gouget
|
3154768a94
|
cmd: Make WCMD_DumpCommands() static.
|
2008-12-15 12:25:00 +01:00 |
Michael Stefaniuc
|
cf8571fed0
|
cmd: Remove some superfluous casts.
|
2008-12-04 12:08:24 +01:00 |
Lei Zhang
|
e6bce797d3
|
cmd: Check the return value from HeapAlloc.
|
2008-07-30 14:38:51 +02:00 |
Francois Gouget
|
304b415284
|
Assorted spelling fixes.
|
2008-03-19 11:21:27 +01: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 |
Jason Edmeades
|
52e8f6f69b
|
cmd.exe: Fix running programs from root of drive.
|
2008-03-04 11:54:21 +01:00 |
Marcus Meissner
|
53f5d67364
|
cmd: Include <time.h> for time().
|
2008-01-22 12:00:42 +01:00 |
Francois Gouget
|
44b52b128c
|
Assorted spelling fixes.
|
2008-01-16 12:48:29 +01:00 |
Alexander Nicolaysen Sørnes
|
5d9f73eaef
|
cmd: Seed the random number generator.
|
2008-01-10 11:38:21 +01:00 |
Lance Jackson
|
d56217e98e
|
cmd: Fix some unclosed file and registry handles.
|
2008-01-04 12:12:51 +01:00 |
Francois Gouget
|
b2bc712323
|
Assorted spelling fixes.
|
2007-09-27 20:12:53 +02:00 |
Jason Edmeades
|
1ee75382c7
|
cmd.exe: Fix redirect ordering on a command line.
|
2007-09-12 12:40:16 +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
|
7fce92ea54
|
cmd.exe: Redirection for external programs was broken by the conversion to unicode.
|
2007-08-13 12:01:46 +02:00 |
Jason Edmeades
|
09969e8de1
|
cmd.exe: Wait when launching GUI pgms in batch.
|
2007-08-10 12:58:17 +02:00 |
Jason Edmeades
|
e34f58ad78
|
cmd: Remove some debug code.
|
2007-07-30 15:01:53 +02:00 |
Anatoly Lyutin
|
2364a87d1b
|
cmd: Use toupperW instead of toupper.
|
2007-07-20 11:44:53 +02:00 |
Paul Vriens
|
61d8402fe2
|
programs/cmd: Do the assignment after the return to avoid a missing free() (Coverity).
|
2007-07-12 13:00:32 +02:00 |
Francois Gouget
|
a3317a5c01
|
Assorted spelling fixes.
|
2007-07-05 19:56:34 +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
|
345cb89175
|
cmd.exe: Correctly parse IF ELSE plus multipart/multiline.
|
2007-06-18 14:24:01 +02:00 |
Jason Edmeades
|
d4afe81c3f
|
cmd.exe: Parse multipart FOR statements.
|
2007-06-18 14:23:42 +02:00 |