Commit Graph

70 Commits

Author SHA1 Message Date
Akihiro Sagawa 8daef1649b cmd: Properly handle multibyte characters in batch files. 2012-10-22 12:23:26 +02:00
Jason Edmeades 3c05818515 cmd: Add support for calling a built in command. 2012-10-17 11:59:34 +02:00
Jason Edmeades dccccfc273 cmd: Handle very odd delimiter support for command line. 2012-10-17 11:57:23 +02:00
Jason Edmeades 8f019b1111 cmd: Fix some issues with ~ modifier expansion. 2012-10-15 15:25:14 +02:00
Jason Edmeades c55cd87632 cmd: Fix setlocal/endlocal implementation. 2012-10-01 14:30:49 +02:00
Frédéric Delanoy 8b3d494247 cmd: Spelling fixes. 2012-09-28 17:14:34 +02:00
Jason Edmeades e35b239b41 cmd: Fix parameterization around delimiters. 2012-09-26 17:47:20 +02:00
Frédéric Delanoy 0f032203f5 cmd: Improve WCMD_parameter documentation. 2012-05-16 20:27:28 +02:00
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
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 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 cd30c52b35 cmd: Avoid reading char by char from files. 2011-10-06 16:46:41 -05: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 5e8893f2f6 cmd: Handle truncation for console reads. 2011-10-03 09:46:11 -05:00
Frédéric Delanoy e3a72698c1 cmd: Improve WCMD_fgets documentation. 2011-10-03 09:45:49 -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 a7e1c22a48 cmd: Avoid reading char by char from console. 2011-09-28 17:27:08 +02:00
Frédéric Delanoy 83daee9a89 cmd: Fix WCMD_fgets documentation. 2011-09-26 22:42:01 +02:00
Frédéric Delanoy 9c61656307 cmd: Output error messages to stderr where appropriate. 2011-09-26 22:42:01 +02:00
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