Commit Graph

46 Commits (5b282df3bfc82f3248c900b279ca36d3f8c0dddb)

Author SHA1 Message Date
Frédéric Delanoy bf63385fab cmd: Remove unused declarations of echo_mode. 2011-09-16 17:24:15 +02:00
Frédéric Delanoy a33bad1edd cmd: Allow a batch file to delete itself. 2011-09-12 16:49:56 +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
Frédéric Delanoy 7b9af22682 cmd: Simplify WCMD_parameter function. 2011-09-08 20:08:07 +02:00
Frédéric Delanoy 40c6ff8abe cmd: Fix misleading WCMD_parameter documentation. 2011-09-08 20:08:07 +02:00
Octavian Voicu 94d2312fe2 cmd: Don't parse colons as stream separators when splitting paths. 2011-08-29 13:59:34 +02:00
Frédéric Delanoy ff501904a7 cmd: Constify some function parameters. 2011-08-23 16:53:50 +02:00
Austin English 3631ee051e cmd: Avoid shadowing a parameter. 2011-03-09 15:54:20 +01:00
Paul Vriens f468055408 cmd: Remove some unneeded extension checking. 2010-02-18 17:15:19 +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
Alexandre Julliard 79b00726f2 cmd: Use the explicit name for all A/W function. 2009-12-09 18:52:40 +01:00
Colin Fletcher 45905b27db cmd.exe: Treat tabs as parameter delimiters. 2009-10-15 12:06:22 +02:00
Gerald Pfeifer 008edf4572 cmd.exe: Fix incorrect check in WCMD_HandleTildaModifiers(). 2009-06-16 13:26:30 +02:00
Francois Gouget c48e5e048f cmd: Introduce a WCMD_strsubstW() function to simplify string substitutions. 2009-06-15 13:42:29 +02:00
Michael Stefaniuc cf8571fed0 cmd: Remove some superfluous casts. 2008-12-04 12:08:24 +01:00
Francois Gouget 8a18e0e43a Assorted spelling fixes. 2008-04-07 13:36:18 +02:00
Rob Shearman 1d6922b2e0 cmd: Fix character count passed to GetShortPathName in WCMD_HandleTildaModifiers. 2008-02-25 13:30:03 +01:00
Rob Shearman 271eaf5c9d cmd: Fix loop termination check in WCMD_batch. 2008-02-25 13:29:57 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Lance Jackson d56217e98e cmd: Fix some unclosed file and registry handles. 2008-01-04 12:12:51 +01:00
Jason Edmeades 1ee75382c7 cmd.exe: Fix redirect ordering on a command line. 2007-09-12 12:40:16 +02:00
Jason Edmeades 118f3a6592 cmd.exe: Allow = and , to be delimiters. 2007-09-12 12:39:29 +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 85c5dcb13f cmd: Fix trap when batch pgm runs another batch pgm. 2007-07-25 13:03:42 +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 929a92f3c4 cmd.exe: GOTO throws away any preloaded multi part/line command. 2007-06-18 14:22:57 +02:00
Jason Edmeades a88a6c802a cmd.exe: Add basic support for && and (...) syntax. 2007-06-18 14:22:07 +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
Jason Edmeades 612dc9d35d cmd.exe: Support SHIFT /n option. 2007-03-08 13:38:27 +01:00
Francois Gouget 7b0cde8f84 Assorted spelling fixes. 2007-03-06 21:51:35 +01:00
Francois Gouget e46b99d238 cmd: Fix compilation on systems that don't support nameless unions. 2007-03-05 12:13:30 +01:00
Alexandre Julliard abfe105c2f cmd: Fix silly local variables indentation that breaks diff -p. 2007-03-01 12:43:19 +01:00
Jason Edmeades a7c5906b62 cmd.exe: Fix parameter parsing returns.
Only return valid values for the location of the parameter if it is
the one requested. Currently returns address when ANY quoted or
bracketed parameter found.
2007-02-28 14:29:18 +01:00
Jason Edmeades 409368eb4c cmd.exe: Prompt during del *.* and del *. 2007-02-28 14:28:26 +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
Alexandre Julliard cdca32c12e cmd: Remove execute permission on source files. 2007-02-23 12:51:55 +01:00
Jan Zerebecki 2dd35ac53b cmd: Remove redundant const. 2007-02-23 11:24:25 +01:00
Jason Edmeades c6eee93a67 cmd.exe: Add support for env vars DATE, TIME, CD. 2007-02-21 11:49:06 +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 fcec39fa2e cmd.exe: Add ~ modifiers for %0-9. 2007-02-21 11:45:23 +01:00
Jason Edmeades e7dc3f1a35 cmd.exe: Add support for %*. 2007-02-21 11:43:13 +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