Commit Graph

524 Commits

Author SHA1 Message Date
Frédéric Delanoy 3f173faf1b cmd/tests: Add mkdir tests for trailing backslashes and invalid chars handling. 2011-07-12 11:46:23 +02:00
Frédéric Delanoy 9114dc5c03 cmd/tests: Add basic mkdir tests. 2011-07-12 11:46:23 +02:00
Frédéric Delanoy 63a6a80d40 cmd/tests: Add basic "for" tests. 2011-07-12 11:46:23 +02:00
Frédéric Delanoy 88ff0e816a cmd/tests: Add support for todo_wine constructions. 2011-07-11 12:19:31 +02:00
Alexandre Julliard 766dc67043 cmd/tests: Rewrite replace_escaped_spaces to avoid overflows.
Spotted by Marcus Meissner.
2011-07-06 19:51:51 +02:00
Frédéric Delanoy 5cb45138da cmd/tests: Get rid of obsolete @todo_space@ construct. 2011-06-14 15:21:18 +02:00
Dan Kegel 32ea7d1f2e cmd: WCMD_delete: fix /s for dirnames containing spaces, add test. 2011-06-02 17:24:58 +02:00
Dan Kegel 3ccfbaef70 cmd: WCMD_delete: move "Delete *.* ?" processing into WCMD_delete_confirm_wildcard. 2011-05-31 18:32:59 +02:00
Dan Kegel 1857a05996 cmd: Don't read past end of thisVar in WCMD_expand_envvar (valgrind). 2011-05-26 15:23:57 +02:00
Dan Kegel 67873bdc9f cmd: Add simple test for %errorlevel%. 2011-05-26 15:23:56 +02:00
Dan Kegel ff1e7038b2 cmd: del /a: test deleting readonly files, with fix. 2011-05-24 13:26:04 +02:00
Dan Kegel 65b27c9ecd cmd: del /a: move parsing of attributes to helper function, use bitmasks. 2011-05-24 13:25:46 +02:00
Francois Gouget d770f86c9a programs: In English punctuations are not preceded by a space. 2011-03-30 18:23:40 +02:00
Francois Gouget 8067f7606c cmd: Add full stops to some parameter descriptions in the usage. 2011-03-16 14:14:23 +01:00
Austin English 3631ee051e cmd: Avoid shadowing a parameter. 2011-03-09 15:54:20 +01:00
Alexandre Julliard 6864716caa cmd: Convert translations to po files. 2011-01-04 17:16:00 +01:00
Sven Baars 4552cda4e8 cmd: Update the Dutch translation. 2010-12-27 11:46:02 +01:00
Sven Baars 03159ff8e2 cmd: Fix a typo in the English resource. 2010-12-27 11:46:00 +01:00
Aurimas Fišeras 2af275cedf cmd: Update Lithuanian translation. 2010-12-27 11:45:31 +01:00
Hwang YunSong 5ebfb9323e cmd: Update Korean resource. 2010-12-22 13:00:11 +01:00
Frédéric Delanoy 783da876f5 cmd: Update French translation. 2010-12-22 12:49:58 +01:00
Łukasz Wojniłowicz 5792a1595f cmd: Update Polish translation. 2010-12-22 12:45:10 +01:00
Anders Jonsson f51d6df574 cmd: Update Swedish translation. 2010-12-21 11:37:59 +01:00
Luca Bennati 93ef439629 cmd: Update Italian translation. 2010-12-21 11:37:56 +01:00
Detlef Riekenberg f29674e86f cmd: Do not reset errorlevel during SET. 2010-12-20 12:47:42 +01:00
Detlef Riekenberg 7506d41e75 cmd: Add german translation for CHOICE. 2010-12-20 12:47:41 +01:00
Detlef Riekenberg 7045e478a8 cmd: Add CHOICE builtin with DOS6 to XP commandline parameter. 2010-12-20 12:47:41 +01:00
Detlef Riekenberg d62c6bb77f cmd: Allow GOTO to a label which has a following whitespace, with test. 2010-12-13 12:43:33 +01:00
Luca Bennati 12099f3d9e cmd: Fix Italian translation. 2010-11-23 14:16:34 +01:00
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
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Luca Bennati 2425999573 cmd: Update Italian translation. 2010-09-09 19:56:36 +02:00
Jason Edmeades 32c8b46633 cmd: echo.word should echo back the word without the . 2010-09-08 19:49:30 +02:00
Jason Edmeades 199b2db502 cmd: Make tests supply stderr + more diagnostics. 2010-09-08 14:15:56 +02:00
Francois Gouget 54fba17b0e programs: Remove spaces before '\n's in the Swedish translation. 2010-08-27 12:30:57 +02:00
Paul Vriens 15c1071eb4 cmd: Add the Swedish translation.
Translation by Rikard Dan Johansson.
2010-08-16 13:41:15 +02:00
Jose Rostagno e7c7e63f98 cmd: Fix Spanish translation. 2010-08-02 12:55:21 +02:00
Igor Paliychuk 5d6baf644d cmd: Add Ukrainian translation. 2010-07-26 09:58:21 +02:00
Alexandre Julliard 6fb39dfe4a programs: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:37 +02:00
Michael Stefaniuc dbdedefe71 cmd: Remove stray ';' from the resource files. 2010-07-20 12:34:55 +02:00
Michael Stefaniuc a0ae8d5374 cmd: Add the Romanian translation.
Translation by Claudia Cotună.
2010-07-13 16:28:02 +02:00
Gustavo Henrique Milaré 0a49769b32 cmd: Update Portuguese (Brazilian) translation. 2010-07-01 10:09:20 +02:00
Hwang YunSong ffc5f0d45f cmd: Update Korean resource. 2010-06-28 16:58:38 +02:00
Luca Bennati 0e63d955d6 cmd: Update Italian translation. 2010-06-23 15:26:48 +02:00
Michael Stefaniuc 71e647fe51 cmd: Don't treat all command lines with '/?' as builtin commands. 2010-06-22 11:22:55 +02:00
Sven Baars 1f8225c99d cmd: Update Dutch translation. 2010-06-22 11:22:30 +02:00
Frédéric Delanoy 2030b8c0c8 cmd: Update French translation. 2010-06-22 11:22:27 +02:00
Aurimas Fišeras e554c4575f cmd: Update Lithuanian translation. 2010-06-22 11:22:24 +02:00
André Hentschel ab87f82f46 cmd: Update German translation. 2010-06-21 11:47:42 +02:00
Frédéric Delanoy a758a67a8c cmd: Initial PATH value taken from registry, not wine.conf. 2010-06-21 11:47:24 +02:00
Vitaly Lipatov b974852ce1 Update Russian translations. 2010-06-18 16:22:07 +02:00
Frédéric Delanoy f8db2a8ef8 cmd: Update French translation. 2010-06-10 11:29:44 +02:00
Paul Vriens 1edc58eae9 resources: Fix some copy-paste mistakes in resource files. 2010-06-08 12:59:03 +02:00
Aurimas Fišeras 3a119953fd cmd: Update Lithuanian translation. 2010-06-08 12:58:58 +02:00
Sven Baars ed16870469 cmd: Update Dutch translation. 2010-06-07 12:22:22 +02:00
Sven Baars 6a88399094 cmd: Make some help messages more informative. 2010-06-07 12:22:18 +02:00
Nikolay Sivov 3f1f5edd52 Fix unneeded capitalization in user prompts. 2010-05-28 16:22:24 +02:00
Gerald Pfeifer 0d527532fa cmd: Remove variable copyFromDir which is not really used from WCMD_copy. 2010-05-10 10:12:03 +02:00
Gerald Pfeifer 5b0de0d569 cmd: Remove variable useinput which is not really used from WCMD_more. 2010-05-05 10:52:51 +02:00
Gerald Pfeifer f40265b0b4 cmd: Remove variable argsProcessed which is not really used from WCMD_directory. 2010-05-03 15:35:18 +02:00
Gerald Pfeifer 02a0bd3a00 cmd: Remove variable doRecursive which is not really used from WCMD_for. 2010-05-03 15:35:11 +02:00
Joel Holdsworth 8b37b340b7 wcmd: Replaced program icon with a Tango compliant icon. 2010-04-19 16:01:02 +02:00
Alexandre Julliard 5b1f6614ed cmd/tests: Add casts to pointer differences in traces. 2010-04-09 16:49:13 +02:00
Mikhail Maroukhine 93d9d8a3af programs: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:18:48 +02:00
Austin English 27717a5127 cmd: Add testcases for goto. 2010-03-24 19:02:12 +01:00
Nikolay Sivov e22f6aa6e3 cmd: Ignore spaces before goto label. 2010-03-24 19:02:06 +01:00
Jacek Caban e486a02157 cmd: Added @or_broken@ handling to test templates and use it to fix tests on win2k. 2010-03-18 11:18:18 +01:00
Yann Droneaud ac8d92405c cmd: Add another expansion test.
Test %VAR%VAR% to check that the second variable is not expanded.
2010-03-16 17:03:38 +01:00
Yann Droneaud 954d06ca35 cmd: Remove %CD% test.
%CD% seems not supported on Windows NT 4.
2010-03-16 17:03:30 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Yann Droneaud 9bad2febf3 cmd: Added some expansion tests. 2010-03-15 16:51:37 +01: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
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Paul Vriens 2ef6101768 cmd/tests: Compare strings case-insensitive. 2010-02-19 11:30:03 +01:00
Trey Hunner 41c0db3ce9 cmd: Add test for 'if' case sensitivity. 2010-02-19 11:30:00 +01:00
Paul Vriens f468055408 cmd: Remove some unneeded extension checking. 2010-02-18 17:15:19 +01:00
Dan Kegel 8110dde8ae cmd: Fix 'else', with tests. 2010-02-18 12:43:00 +01:00
Dan Kegel e4fd5196c2 cmd: Rename reference file from .out to .exp to avoid clash with gnu make builtin rule. 2010-02-17 09:48:03 +01:00
Dan Kegel 8bc6ff9d90 cmd: Add test to show ~dp0 should be directory containing batch file. 2010-02-17 09:46:02 +01:00
Dan Kegel 9d63b91405 cmd: Add test to show set "FOO=bar" should not include the quotes in the variable value. 2010-02-17 09:44:06 +01:00
Dan Kegel 786429b3d7 cmd: Turn off echo, add visual separator between testcases. 2010-02-17 09:43:22 +01:00
Dan Kegel 5035f3cff3 cmd: Move all tests to test_builtins.cmd. 2010-02-17 09:43:09 +01:00
André Hentschel d00f031646 cmd: Improve German translation. 2010-02-15 12:20:01 +01:00
Jacek Caban 28a4a7bd42 cmd: Added cmd.exe tests. 2010-02-10 11:31:16 +01:00
Dan Kegel 15998c2bdb cmd: Size buffer in create_full_path() correctly. 2010-02-03 11:07:14 +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
Trey Hunner afb374b7aa cmd: Add support for 'if /i'. 2010-02-02 11:59:33 +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
Francois Gouget 085c39342b cmd: Remove spaces before '\n's. 2009-11-18 15:15:40 +01:00
Luca Bennati 79bb4bd549 cmd: Add Italian translation. 2009-11-09 19:40:05 +01:00
Colin Fletcher 45905b27db cmd.exe: Treat tabs as parameter delimiters. 2009-10-15 12:06:22 +02: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
Andrew Nguyen 203c538aaa cmd: Fix copy option handling in batch mode. 2009-10-06 11:51:57 +02:00
Dan Kegel 25efe69d60 cmd: Make 'dir' hide hidden or system files by default. 2009-09-25 14:00:23 +02:00
Dan Kegel 81e5c76a5f cmd: Improve 'attrib' builtin to handle at least setting/clearing single attributes. 2009-09-25 14:00:17 +02:00
André Hentschel 765d9a1411 wcmd: Ignore start and end quotes. 2009-08-29 16:48:52 +02:00
Jörg Höhle 5866651c38 cmd: Fix German typo. 2009-08-14 11:26:56 +02:00
Juan Lang 9c7ded0973 wcmd: Only execute non-empty commands. 2009-08-13 11:45:04 +02:00
Vladimir Pankratov e03b9197cb cmd: Convert the Russian resources to UTF-8. 2009-07-17 11:16:25 +02:00
André Hentschel 7d16eed02f cmd: Update German translation. 2009-07-15 13:16:51 +02:00
André Hentschel 4e223262de cmd: Fix German translation. 2009-07-14 10:45:19 +02:00
Alexandre Julliard f628146cfe Remove some obsolete README files. 2009-07-09 16:02:19 +02:00
Michael Stefaniuc 4b18e8d21a cmd: Convert the German resources to UTF-8. 2009-07-09 15:22:15 +02:00
Frédéric Delanoy 18dbff2a8c cmd: Fix French translation. 2009-07-06 14:35:25 +02:00
Aurimas Fišeras d7a1cb2c25 cmd: Add Lithuanian translation. 2009-07-03 11:27:45 +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
Gerald Pfeifer 008edf4572 cmd.exe: Fix incorrect check in WCMD_HandleTildaModifiers(). 2009-06-16 13:26:30 +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
Łukasz Wojniłowicz 7448a09258 cmd: Updated Polish translations. 2009-04-23 14:22:06 +02:00
James Hawkins 474276d569 cmd: Fix a memory leak (Coverity 904). 2009-03-23 18:21:05 +01:00
Hwang YunSong(황윤성) b77d177387 cmd: Updated Korean resource. 2009-03-09 12:06:15 +01:00
Diaa Sami 8ea1a12ed6 cmd: Fixed a number of buffer overflows. 2009-03-03 14:03:48 +01:00
Nikolay Sivov 2dd1b3b636 cmd: Reserve a place in buffer for NULL terminator. 2009-02-18 15:00:22 +01:00
Nikolay Sivov 78f38a742f cmd: Always add a new line in 'type' output on single file mode. 2009-02-18 15:00:04 +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
Francois Gouget e7b125702f cmd: Make WCMD_ask_confirm() static. 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 f5f54fb411 cmd: Reorder some functions to avoid forward declarations. 2008-12-31 12:27:59 +01:00
Christian Costa 656b627340 cmd.exe: Use WCMD_CURRENTTIME resource to show the time. 2008-12-30 13:40:36 +01:00
Francois Gouget 3154768a94 cmd: Make WCMD_DumpCommands() static. 2008-12-15 12:25:00 +01:00
ByeongSik Jeon 5f3287d79f *Ko.rc: Update Korean resource.
Fix the unnecessary SUBLANG_NATURAL.
Change the font size from 8 to 9.
2008-12-11 12:21:07 +01:00
Michael Stefaniuc cf8571fed0 cmd: Remove some superfluous casts. 2008-12-04 12:08:24 +01:00
Muneyuki Noguchi e11c68e19d cmd: Convert Japanese resource to UTF-8. 2008-10-13 11:39:23 +02:00
Lei Zhang e6bce797d3 cmd: Check the return value from HeapAlloc. 2008-07-30 14:38:51 +02:00
Francois Gouget b31fbfc47d cmd: Remove spaces before '\n' in resource strings. 2008-06-11 20:03:12 +02:00
Francois Gouget 39cb432b68 Fix the resources to remove extraneous spaces in '...'. 2008-06-05 15:53:05 +02:00
Michael Stefaniuc 72598cd58e cmd: Fix the Turkish translation. 2008-06-04 12:32:11 +02:00
Michael Stefaniuc 00832864a4 cmd: Fix the Czech translation. 2008-06-04 12:32:08 +02:00
Michael Stefaniuc 8fe5bbf20f cmd: Fix the Portuguese translations. 2008-06-02 12:12:27 +02:00
Michael Stefaniuc 712ae3cf2b cmd: Fix the Japanese translation. 2008-05-30 10:01:48 +02:00
Andrej Sinicyn 89651351f3 cmd: German translation. 2008-05-13 20:25:59 +02:00
Jens Albretsen 5307fecc44 cmd: Added Danish translation. 2008-05-05 13:35:05 +02:00
Austin English 6e59cd2c34 Spelling fixes. 2008-04-22 12:20:12 +02:00
Tomasz Nowiński df90b52627 Fixed typos in the Polish translations. 2008-04-21 20:34:47 +02:00
Rok Mandeljc 2f807a2fa8 cmd: Updated Slovenian translation. 2008-04-08 11:58:45 +02:00
Francois Gouget 8a18e0e43a Assorted spelling fixes. 2008-04-07 13:36:18 +02:00
Herve Chanal e9ee629da4 cmd: Add a nicer icon. 2008-03-20 16:12:48 +01: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
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 4c8e218252 Assorted spelling fixes. 2008-02-15 12:09:24 +01:00
Frans Kool 0380baf668 cmd: Added & corrected Dutch translations. 2008-02-15 11:08:17 +01:00
Andrey Esin 001e711b53 cmd: Additions to Russian translation. 2008-02-07 11:59:53 +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
Jonathan Ernst 3fc12344fc cmd: Updated French translation. 2007-11-21 12:03:10 +01:00
Jonathan Ernst ba7990d67f cmd: Updated French translation. 2007-11-13 21:45:39 +01:00
Dmitry Potapov f918d175af cmd: copy: Fix "Path not found" error. 2007-10-15 16:56:03 +02:00
Francois Gouget b2bc712323 Assorted spelling fixes. 2007-09-27 20:12:53 +02:00
Alexandre Julliard 7015869d22 cmd.exe: We can now store binary files in the repository. 2007-09-18 13:13:42 +02:00
Jason Edmeades 1ee75382c7 cmd.exe: Fix redirect ordering on a command line. 2007-09-12 12:40:16 +02:00
Jason Edmeades c7b88e95f5 cmd.exe: Add basic support for FOR /F parsing launched programs output. 2007-09-12 12:40:02 +02:00
Jason Edmeades f3ae48cbda cmd.exe: Add basic for /F string support. 2007-09-12 12:39:54 +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 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 dc372175d4 cmd.exe: Enhance FOR support. 2007-09-12 12:38:17 +02:00
Kirill K. Smirnov 42c26ded04 programs/cmd: Do not use hardcoded constants when corresponding macro is already defined. 2007-08-17 11:48:42 +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
Marcus Meissner 28ca9a8658 cmd.exe: WCMD_for is only for files. 2007-08-13 11:39:11 +02:00
Jason Edmeades 09969e8de1 cmd.exe: Wait when launching GUI pgms in batch. 2007-08-10 12:58:17 +02:00
Dmitry Timoshkov 197f4059ab include: winres.h no longer exists in PSDK, fix winresrc.h includes. 2007-08-07 14:09:09 +02:00
Jason Edmeades e34f58ad78 cmd: Remove some debug code. 2007-07-30 15:01:53 +02:00
Jason Edmeades 8e08983e5f cmd: Fix comment to accurately reflect the function. 2007-07-30 15:01:46 +02:00
Jason Edmeades a766ba0570 cmd: Add support for wildcards in copy. 2007-07-30 15:01:41 +02:00
Jason Edmeades 85c5dcb13f cmd: Fix trap when batch pgm runs another batch pgm. 2007-07-25 13:03:42 +02:00
Anatoly Lyutin 2364a87d1b cmd: Use toupperW instead of toupper. 2007-07-20 11:44:53 +02:00
Hwang YunSong(황윤성) 70ce53af03 cmd: Updated Korean resource. 2007-07-18 13:34:58 +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
Anatoly Lyutin 24866e7906 cmd: Use toupperW instead of toupper. 2007-07-11 11:59:48 +02:00
Francois Gouget a3317a5c01 Assorted spelling fixes. 2007-07-05 19:56:34 +02:00
Michael Stefaniuc 6519a83de4 cmd: Remove superfluous casts of void pointers to other pointer types. 2007-06-27 12:53:16 +02:00
Jason Edmeades 196fb10c32 cmd.exe: for loop by default only matches files. 2007-06-18 14:25:13 +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
Jason Edmeades d2474dece3 cmd.exe: EXIT /b skips any residual commands. 2007-06-18 14:23:23 +02:00
Jason Edmeades de4c6970a3 cmd.exe: Lines starting with REM ignore any multiline/part characters. 2007-06-18 14:23:14 +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 8f12d8bde3 cmd.exe: Pass the command list through so it is available to built in commands. 2007-06-18 14:22:43 +02:00
Jason Edmeades aad1d8ce24 cmd.exe: Pass command structure into WCMD_pipe, not command line itself. 2007-06-18 14:22:26 +02:00
Jason Edmeades a88a6c802a cmd.exe: Add basic support for && and (...) syntax. 2007-06-18 14:22:07 +02:00
Jason Edmeades 7e9d498d1e cmd.exe: Add support for cmd.exe /u (Unicode from internal pgms). 2007-06-15 13:26:42 +02:00
Alexandre Julliard abc5fefada cmd.exe: Silence a FIXME. 2007-06-08 12:54:21 +02:00
Anatoly Lyutin b611b56947 cmd.exe: Update Russian translation. 2007-06-07 11:59:48 +02:00
Francois Gouget a2deafcc3f programs/cmd: Add missing '\n' to Wine trace. 2007-06-06 12:12:17 +02:00
Jason Edmeades a1639ebfc6 cmd.exe: Fix dir /w.
Use of %* fails when using wvsprintf, so just pad manually,
but maintain only a single output call.
2007-06-04 14:49:39 +02:00
Jason Edmeades 81c1aa14d5 cmd.exe: Change from main to wmain. 2007-06-04 14:47:36 +02:00
Jason Edmeades c4885bc46f cmd.exe: Fix handling of malformed environment variable expansion. 2007-06-04 14:47:17 +02:00
Jason Edmeades afe4d80a5e cmd.exe: Fix 'help garbage' command post-unicode support. 2007-06-04 14:44:57 +02:00
Jason Edmeades b8aa5fc586 cmd.exe: Convert cmd to Unicode. 2007-06-04 14:44:46 +02:00
Jason Edmeades 398e710376 cmd.exe: Handle command line as Unicode. 2007-06-04 14:14:57 +02:00
Jason Edmeades 926da13e56 cmd.exe: Move writing to console into a single function. 2007-06-04 14:11:50 +02:00
Jason Edmeades 5cc492c783 cmd.exe: Move English constants into NLS files. 2007-06-04 14:10:04 +02:00
Alexander Nicolaysen Sørnes c14832d714 cmd: Update Norwegian Bokmål resources. 2007-06-01 12:41:27 +02:00
José Manuel Ferrer Ortiz 0175512598 Some Spanish translations updated. 2007-05-30 15:55:20 +02:00
Frank Richter 0fa2cbab76 cmd: Updated German translation. 2007-05-14 14:26:06 +02:00
Francois Gouget 5a8fc34033 Assorted spelling fixes. 2007-04-30 12:35:11 +02:00
Jason Edmeades 68b11d1290 cmd.exe: Support for DEL filename /s. 2007-04-24 11:53:13 +02:00
Hwang YunSong(황윤성) 68401a151a cmd: Updated Korean resource. 2007-04-23 13:58:35 +02:00
Jason Edmeades ce87522f84 cmd.exe: Implement a basic 'more'.
This implements a basic more, eg 'dir | more' or 'more file.c'
but it does not support the flags or keys which can control it.
Basically its not worth implementing those, as in some modes
we cannot read a single key, we have to wait for <enter> anyway.
2007-04-16 12:24:49 +02:00
Hwang YunSong(황윤성) 3d92b2931c cmd: Updated Korean resource. 2007-04-16 12:11:38 +02:00
Jason Edmeades 53c05cb534 cmd.exe: Fix regression when launching a fully qualified program. 2007-04-12 16:38:45 +02:00
Jason Edmeades 2f5bfc0f78 cmd.exe: Add prompting and COPYCMD plus /Y support to move. 2007-04-12 16:38:35 +02:00
Jason Edmeades d0a6fe101a cmd.exe: Add move support for wildcards and directories. 2007-04-12 16:38:24 +02:00
Jason Edmeades 32fc366955 cmd.exe: Add support for move with simple wildcards. 2007-04-12 16:38:13 +02:00
Jason Edmeades 7e2d1b4ade cmd.exe: Partially fix 'dir *.' (ie files with no extension). 2007-04-06 12:31:09 +02:00
Jason Edmeades 426a3c11c5 cmd.exe: Make dir a* b* or dir a* b* /s mirror windows. 2007-04-06 12:31:09 +02:00
Jason Edmeades fc8a9a20c6 cmd.exe: Make dir support multiple parameters. 2007-04-06 12:31:08 +02:00
Jason Edmeades 57f76bd3cf cmd.exe: Fix dir filename /s and resolve many output differences. 2007-04-06 12:31:08 +02:00
Jason Edmeades 5704b4bec9 cmd.exe: Attempt to launch pgm even if fails to locate it. 2007-04-06 12:31:08 +02:00
Jason Edmeades b573f68b36 cmd.exe: Only search for supplied command as-is if it includes an extension.
Files with no extensions cannot be run as-is. This enables a directory
with 'fred' and 'fred.bat' to correctly run fred.bat if just fred is
executed.
2007-04-06 12:31:08 +02:00
Alexander Farber 6ae5814623 cmd: Enlarge max. length of PATH variable. 2007-03-29 21:02:17 +02:00
Francois Gouget ebfeb41e99 cmd: Spelling fix. 2007-03-28 12:34:13 +02:00
Jason Edmeades 0739ad2246 cmd.exe: Only write 'bytes free' message if a file was displayed during dir. 2007-03-19 14:05:39 +01:00
Jason Edmeades bf626f960b cmd.exe: Add errorlevel support for DIR command. 2007-03-19 14:05:22 +01:00
Jason Edmeades d22447946a cmd.exe: Add support for dir /A filtering. 2007-03-19 14:05:14 +01:00
Jason Edmeades 7fba2c0a64 cmd.exe: Add support for DIRCMD and sequential qualifier processing. 2007-03-19 14:04:55 +01:00
Jason Edmeades f8e619412b cmd.exe: Add support for dir /-C. 2007-03-19 14:04:26 +01:00
Jason Edmeades 480c932695 cmd.exe: Add support for DIR /D. 2007-03-19 14:04:15 +01:00
Alexandre Julliard 7c1418ae2c cmd: Fix a compiler warning. 2007-03-16 13:02:06 +01:00
Hwang YunSong(황윤성) 323ff79fe7 cmd: Updated Korean Resource. 2007-03-14 18:58:14 +01:00
Jason Edmeades 98e37021ab cmd.exe: Add DIR /O ordering support. 2007-03-14 12:04:57 +01:00
Jason Edmeades 1497a2fec4 cmd.exe: Add dir /X support (sort of...). 2007-03-14 12:04:38 +01:00
Mikołaj Zalewski deba96b0b1 cmd: Update Polish translation. 2007-03-13 20:50:43 +01:00
Stefan Huehner 4d1d01f266 Mark several functions as static. 2007-03-13 13:35:12 +01:00
Jason Edmeades ae964c68eb cmd.exe: Add DIR /X support. 2007-03-13 12:04:22 +01:00
Jason Edmeades 577b8ef233 cmd.exe: Add DIR /T support. 2007-03-13 12:04:02 +01:00
Jason Edmeades 729ed8623b cmd.exe: Add dir /L support. 2007-03-13 12:03:34 +01:00
Jason Edmeades 87f0293657 cmd.exe: Make SET have correct errorlevel. 2007-03-13 12:03:03 +01:00