Frédéric Delanoy
0e4ceb9a8d
cmd: Use BOOL instead of int for boolean variables.
2012-03-29 20:49:18 +02:00
Frédéric Delanoy
668e44ab26
cmd: Respect constant wide strings naming convention.
2012-02-13 12:29:34 +01:00
Alexandre Julliard
3c8d8f1e95
cmd: START needs to be an internal command.
2012-02-11 16:12:01 +01:00
Francois Gouget
af3d368aca
cmd: Fix an internationalization issue in WCMD_ask_confirm().
...
Don't break the strings to translate in little chunks: this makes it
hard or even impossible to translate them correctly. For instance it
must be possible to insert an unbreakable space before question marks
for French.
2012-01-23 19:42:54 +01:00
Akihiro Sagawa
8a00eb8609
cmd: Improve the message when the volume has no label.
2011-12-15 17:46:31 +01:00
Francois Gouget
8ef901fa32
cmd: Use FormatMessage() for better internationalization support.
...
This makes it possible to reorder the format string placeholders in message translations.
2011-12-06 18:23:49 +01:00
Frédéric Delanoy
44a1e7d199
cmd: Move commonly used global vars declarations to header file.
2011-11-30 11:44:05 +01:00
Frédéric Delanoy
de7841b2ce
cmd: Move builtins list to builtins.c.
2011-11-21 15:34:58 +01:00
Frédéric Delanoy
5fc25686a4
cmd: Avoid duplication of commonly used strings.
2011-11-15 11:45:58 +01:00
Frédéric Delanoy
6221e300bc
cmd: Avoid comparison between signed and unsigned values.
2011-11-08 13:55:14 +01:00
Frédéric Delanoy
6d01f15a27
cmd: Rename a parameter in WCMD_parameter.
2011-10-31 16:48:33 +01:00
Frédéric Delanoy
42f126e80d
cmd: Constify WCMD_pushd parameter.
2011-10-21 12:31:46 +02:00
Frédéric Delanoy
d19455e895
cmd: Rename WCMD_opt_s_strip_quotes function.
2011-10-19 16:38:52 +02:00
Frédéric Delanoy
5e3cb1867b
cmd: Infer handle type from handle value in WCMD_fgets and WCMD_ReadAndParseLine.
2011-10-06 16:46:41 -05:00
Frédéric Delanoy
d25f614c51
cmd: Rename a parameter in WCMD_fgets.
2011-10-05 17:00:12 -05:00
Frédéric Delanoy
29b57ca82d
cmd: Get rid of unused parameter in WCMD_ReadFile.
2011-09-28 17:29:24 +02:00
Frédéric Delanoy
d6f4f7308a
cmd: Avoid checking whether we're in console mode for every read.
2011-09-28 17:29:10 +02:00
Frédéric Delanoy
fbddecab77
cmd: Add WCMD_output_stderr function to output error messages to stderr.
2011-09-26 22:42:01 +02:00
Frédéric Delanoy
a536004f34
cmd: Improve WCMD_volume documentation.
2011-09-23 12:43:53 +02:00
Christian Costa
faa23d2a16
cmd: Move externals list at the same place as the builtins one so it's easier to known how a command is implemented.
2011-09-12 11:10:53 +02:00
Frédéric Delanoy
003e8d2797
cmd: Use correct type instead of void* for prev_context field of BATCH_CONTEXT struct.
2011-09-09 16:08:51 +02:00
Frédéric Delanoy
3627c28958
cmd: Add an output parameter to WCMD_parameter to point to the end of the extracted param, if requested.
2011-09-08 20:08:07 +02:00
Christian Costa
4aa865ed76
cmd: Remove attrib from builtins list.
2011-09-07 11:35:58 +02:00
Christian Costa
7b41ffbf61
attrib: Move implementation from cmd.exe to the standalone command.
2011-09-06 13:25:50 +02:00
Frédéric Delanoy
df699a89fa
cmd: Associate comments with their respective descripted structures in header file.
2011-09-06 12:23:55 +02:00
Frédéric Delanoy
c1c76d279e
cmd: Add WCMD_output_asis_stderr function.
2011-08-30 16:55:46 +02:00
Frédéric Delanoy
7b125126a7
cmd: Fix FOR tab handling.
2011-08-25 14:50:31 +02:00
Frédéric Delanoy
ff501904a7
cmd: Constify some function parameters.
2011-08-23 16:53:50 +02:00
Frédéric Delanoy
bb47576f59
cmd: Rename WCMD_strtrim_leading_spaces to WCMD_skip_leading_spaces to better reflect its purpose.
2011-08-23 16:53:50 +02:00
Frédéric Delanoy
822759a367
cmd: Remove reference to no longer existing WCMD_read_console from header file.
2011-08-23 16:53:50 +02:00
Dan Kegel
15ce9a5784
cmd: mkdir: Handle multiple arguments.
2011-08-03 17:44:53 +02:00
Frédéric Delanoy
8b73720d4e
cmd: Fix some comments.
2011-07-27 12:28:26 +02:00
Frédéric Delanoy
d1862e473b
cmd: Fix comment for CMD_PIPE.
2011-07-21 16:28:48 +02:00
Dan Kegel
32ea7d1f2e
cmd: WCMD_delete: fix /s for dirnames containing spaces, add test.
2011-06-02 17:24:58 +02:00
Detlef Riekenberg
7045e478a8
cmd: Add CHOICE builtin with DOS6 to XP commandline parameter.
2010-12-20 12:47:41 +01:00
Dan Kegel
60fe4dae7a
cmd: %~dp0 should expand to the directory containing the batch file, not the current directory.
2010-02-03 11:07:07 +01:00
André Hentschel
765d9a1411
wcmd: Ignore start and end quotes.
2009-08-29 16:48:52 +02:00
Michael Stefaniuc
2753331af0
cmd: Build language resource files separately.
...
Do not include them from an other rc file.
2009-07-02 11:41:44 +02:00
Francois Gouget
c48e5e048f
cmd: Introduce a WCMD_strsubstW() function to simplify string substitutions.
2009-06-15 13:42:29 +02:00
Diaa Sami
8ea1a12ed6
cmd: Fixed a number of buffer overflows.
2009-03-03 14:03:48 +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
Francois Gouget
e7b125702f
cmd: Make WCMD_ask_confirm() static.
2009-01-06 10:09:37 +01:00
Jason Edmeades
84f02a6ab2
cmd.exe: Fix pipes.
2008-03-04 11:54:21 +01:00
Jason Edmeades
1ee75382c7
cmd.exe: Fix redirect ordering on a command line.
2007-09-12 12:40:16 +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
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