Commit Graph

287 Commits

Author SHA1 Message Date
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