Frédéric Delanoy
3803134fce
cmd/tests: Add tests for command line parsing.
...
Adapted from original patch by Martin Wilck <mwilck@arcor.de>.
2012-10-11 20:38:46 +02:00
Frédéric Delanoy
0ab71a42b4
cmd/tests: Move command line tests to separate file.
2012-10-11 20:37:59 +02:00
Jason Edmeades
f252e9dfc8
cmd: Change command line parsing away from argv/argc.
2012-10-03 11:24:13 +02:00
Jason Edmeades
88f14bb590
cmd: Fix basic cmd.exe /c "echo hello" type syntax.
...
Add checks for existance of command to run in order to keep the
new quote handling capabilities of cmd.exe /C or /K. If the command
cannot be found, drop back to /S processing mode as per cmd.exe help.
2012-10-02 14:08:36 +02:00
Jason Edmeades
b1dacc6c37
cmd: cmd.exe /c or /k should suppress copy overwrite prompts.
2012-10-02 14:08:36 +02:00
Jason Edmeades
4e10456bf6
cmd: Ensure current directory saved during cmd /c.
2012-10-01 14:31:33 +02:00
Jason Edmeades
c55cd87632
cmd: Fix setlocal/endlocal implementation.
2012-10-01 14:30:49 +02:00
Jason Edmeades
9dde62cb96
cmd: Add full for /R support.
2012-10-01 14:29:58 +02:00
Jason Edmeades
8fbd65358e
cmd: Convert wcmd_for to use WCMD_parameter.
2012-10-01 14:24:48 +02:00
Francois Gouget
906127fe29
Assorted spelling fixes.
2012-10-01 12:07:41 +02:00
Frédéric Delanoy
c5a4878f5f
cmd: Reuse common string constants.
2012-09-28 17:14:38 +02:00
Frédéric Delanoy
8b3d494247
cmd: Spelling fixes.
2012-09-28 17:14:34 +02:00
Jason Edmeades
cd9451c499
cmd: Display 'set' sort ordering correctly.
2012-09-26 17:49:23 +02:00
Jason Edmeades
a810e41e47
cmd: Echo back command with whitespace removed first.
2012-09-26 17:49:11 +02:00
Jason Edmeades
2ff533c1f2
cmd: Support for ^ character at end of line.
...
Based on a patch by John Chow.
2012-09-26 17:48:59 +02:00
Jason Edmeades
d8c0fbcedc
cmd: Add circumflex support into command shell.
2012-09-26 17:48:24 +02:00
Jason Edmeades
e35b239b41
cmd: Fix parameterization around delimiters.
2012-09-26 17:47:20 +02:00
Francois Gouget
5f55a71b70
Assorted spelling fixes.
2012-09-24 22:27:29 +02:00
Jason Edmeades
ebd1810918
cmd: Space does not delimit environment variable names.
2012-09-06 18:23:40 +02:00
Jason Edmeades
f9b4c78a89
cmd: A successful set should reset the errorlevel.
2012-09-06 18:23:40 +02:00
Jason Edmeades
9877b53b8c
cmd: Fix incorrect pointer comparison.
2012-09-05 21:56:55 +02:00
Jason Edmeades
141e33b845
cmd: More generic zero iteration for loop fix.
2012-09-05 21:56:52 +02:00
Jason Edmeades
4f71f4af59
cmd: Fix "PATH=value" command.
2012-09-05 13:25:24 +02:00
Jason Edmeades
c5a72379a1
cmd: Fix renaming inside directories.
2012-09-04 15:04:01 +02:00
Jason Edmeades
94f9e789c9
cmd: Fix rmdir error during recursive delete.
2012-09-04 15:03:44 +02:00
Jason Edmeades
1a9413b98a
cmd: for /l with zero iterations failed to skip its commands.
2012-09-03 15:51:26 +02:00
Jason Edmeades
3a25888f38
cmd: for loops did not respect boundaries.
2012-09-03 15:51:20 +02:00
Francois Gouget
e0f4d5caf9
start: Fix the command line handling.
2012-06-28 01:38:40 +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
Christian Costa
6533168089
cmd/tests: If we rewind to the beginning of the line, don't increment line number.
2012-03-27 13:58:19 +02:00
Christian Costa
6520f19181
attrib: Dislay attribute flags in the right order.
2012-03-27 13:57:38 +02:00
Christian Costa
a4e2f1d42a
attrib: Add 2 missing spaces between attribute flags and filename.
2012-03-27 13:56:37 +02:00
Francois Gouget
da7e97bbe5
start: Remove the license and the /L option.
2012-03-01 17:29:10 +01: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
7cf307a7bd
cmd: Reuse common string constants.
2012-02-13 12:29:30 +01:00
Frédéric Delanoy
7e6e783cbb
cmd: Add short help for START command.
2012-02-11 19:11:54 +01:00
Alexandre Julliard
3c8d8f1e95
cmd: START needs to be an internal command.
2012-02-11 16:12:01 +01:00
Francois Gouget
02b12e1117
programs: Standardize references to the <Enter> key.
2012-01-25 11:53:06 +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
Francois Gouget
c2a9aae4ca
cmd: Fix asking for a Yes / No / All confirmation.
2012-01-23 19:42:52 +01:00
Francois Gouget
774eb34e36
cmd: Remove an unused variable.
2012-01-23 19:42:52 +01:00
Alexandre Julliard
c9eee73450
makefiles: Define __WINESRC__ when building programs.
2012-01-23 16:07:37 +01:00
Francois Gouget
34c0b74ace
cmd: A few usage message tweaks and fixes.
2012-01-23 16:07:28 +01:00
Alexandre Julliard
da35622b83
makefiles: Disable use of Unicode macros globally for all the programs.
2012-01-20 13:14:16 +01:00
Frédéric Delanoy
0b358703ca
cmd: Avoid unreachable code (Coverity).
2012-01-03 19:28:22 +01:00
Frédéric Delanoy
dbdf927e74
cmd: Merge two if blocks.
2011-12-20 20:24:10 +01:00
Francois Gouget
eb109f46e3
cmd: Avoid hardcoding the Unicode string literal lengths.
2011-12-16 17:40:48 +01:00
Akihiro Sagawa
8a00eb8609
cmd: Improve the message when the volume has no label.
2011-12-15 17:46:31 +01:00
Frédéric Delanoy
15f65a0792
cmd: Avoid dead assignment (Clang).
2011-12-07 17:50:03 +01:00