Commit Graph

211 Commits

Author SHA1 Message Date
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
Jason Edmeades 4b1ef917bc cmd.exe: Add SET /P support. 2007-03-13 12:02:55 +01:00
Jason Edmeades a801995cdb cmd.exe: Add 2>&1 and 1>&2 support. 2007-03-13 12:02:40 +01:00
Jason Edmeades 4ef2f8ba1a cmd.exe: Add TYPE multiple file support. 2007-03-13 12:02:29 +01:00
Jason Edmeades 085c0f4a3a cmd.exe: Add support for stderr redirection to a file. 2007-03-13 12:02:17 +01:00
Jason Edmeades d0db751e0c cmd.exe: Save initial working directory. 2007-03-13 11:58:38 +01:00
Jason Edmeades 9e041c6bc9 cmd.exe: Add support for FTYPE. 2007-03-13 11:58:19 +01:00
Francois Gouget 540d8186df cmd: Fix compilation on systems that don't support nameless unions. 2007-03-12 12:08:33 +01:00
Anatoly Lyutin 34faf92e2d cmd: Update translation and synchronize Russian resource. 2007-03-09 13:56:00 +01:00
Jason Edmeades 612dc9d35d cmd.exe: Support SHIFT /n option. 2007-03-08 13:38:27 +01:00
Jason Edmeades ffbaedef51 cmd.exe: Add support for CD /D. 2007-03-08 13:37:43 +01:00
Jason Edmeades 86140e3fbb cmd.exe: setlocal and endlocal should preserve drive and directory. 2007-03-08 13:37:10 +01:00
Jason Edmeades d1317f5578 cmd.exe: Hide new internal vars during SET. 2007-03-08 13:36:40 +01:00
Jason Edmeades 2b03d7d75f cmd.exe: Add support for working directories per drive. 2007-03-08 13:36:28 +01:00