Commit Graph

143 Commits

Author SHA1 Message Date
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
Jason Edmeades b6ed73b1ac cmd.exe: Support TIME /T option. 2007-03-08 13:35:06 +01:00
Jason Edmeades 988ef41da9 cmd.exe: Support DATE /T option. 2007-03-08 13:34:56 +01:00
Jason Edmeades 91aa8a0a8d cmd.exe: Prevent options to pushd. 2007-03-08 13:34:46 +01:00
Jason Edmeades e5a26bc24d cmd.exe: Support PUSHD with wildcards. 2007-03-08 13:34:32 +01:00
Jason Edmeades 121a830219 cmd.exe: Set errorlevel if CD fails. 2007-03-08 13:33:49 +01:00
Jason Edmeades 5c8c694e5e cmd.exe: Wildcards in directory names for CD. 2007-03-08 13:33:41 +01:00
Jason Edmeades eb6d084fd6 cmd.exe: Support unquoted directories in CD command. 2007-03-08 13:33:10 +01:00
Jason Edmeades b9265bc3a9 cmd.exe: Support default colours for wineconsole. 2007-03-08 13:32:20 +01:00
Jason Edmeades 00ad4c5317 cmd.exe: Add cmd.exe /T option. 2007-03-08 13:30:27 +01:00
Jason Edmeades e37463fab5 cmd.exe: Add COLOR command. 2007-03-08 13:30:20 +01:00
Hwang YunSong(황윤성) aec743c16e cmd: Updated Korean resource. 2007-03-07 21:33:55 +01:00
Francois Gouget 7b0cde8f84 Assorted spelling fixes. 2007-03-06 21:51:35 +01:00
Jason Edmeades 9e518dc79d cmd.exe: Fix stdio redirects. 2007-03-05 12:59:12 +01:00
Jason Edmeades a97d1200f3 cmd.exe: Add support for del file1 file2. 2007-03-05 12:58:07 +01:00
Jason Edmeades 79aa1a009f cmd.exe: Add ASSOC command. 2007-03-05 12:56:48 +01:00
Jason Edmeades 8049ae1af8 cmd.exe: PROMPT option to show pushd levels. 2007-03-05 12:56:09 +01:00
Jason Edmeades 00ba810dbf cmd.exe: Additional PROMPT options. 2007-03-05 12:56:04 +01:00
Jason Edmeades 0efa91de15 cmd.exe: Support rd dir1 dir2. 2007-03-05 12:55:47 +01:00
Francois Gouget e8007d9d7b cmd: Remove unneeded NONAMELESS* defines and ifdefs. 2007-03-05 12:13:59 +01:00
Francois Gouget e46b99d238 cmd: Fix compilation on systems that don't support nameless unions. 2007-03-05 12:13:30 +01:00
Alexandre Julliard abfe105c2f cmd: Fix silly local variables indentation that breaks diff -p. 2007-03-01 12:43:19 +01:00
Alexander Farber f6ec44173f cmd: Support /-Y and COPYCMD environment variable in the "copy" builtin. 2007-03-01 12:38:46 +01:00
Alexander Farber fdeb6d5ae5 cmd: Fixed 3 buffer overflows when fetching environment variables. 2007-03-01 12:38:28 +01:00
Jason Edmeades a7c5906b62 cmd.exe: Fix parameter parsing returns.
Only return valid values for the location of the parameter if it is
the one requested. Currently returns address when ANY quoted or
bracketed parameter found.
2007-02-28 14:29:18 +01:00
Jason Edmeades b822e73263 cmd.exe: Support del /a[:]. 2007-02-28 14:29:06 +01:00
Jason Edmeades 10c3764d13 cmd.exe: Support del /f. 2007-02-28 14:28:54 +01:00
Jason Edmeades fe29ed41cc cmd.exe: Support del /p. 2007-02-28 14:28:45 +01:00
Jason Edmeades 409368eb4c cmd.exe: Prompt during del *.* and del *. 2007-02-28 14:28:26 +01:00
Jason Edmeades fda7229b50 cmd.exe: Add prompt for rd /s. 2007-02-28 14:28:16 +01:00
Jason Edmeades 1c632cd0fb cmd.exe: Make 'set t' show all vars starting with 't'. 2007-02-27 12:34:12 +01:00
Jason Edmeades 69194ce0d7 cmd.exe: Add rd /s support. 2007-02-27 12:30:23 +01:00
Jason Edmeades 3232e61b94 cmd.exe: Locate programs more correctly. 2007-02-27 12:29:33 +01:00
Jason Edmeades 54ba046ad5 cmd.exe: Allow special named env vars to be modified. 2007-02-27 12:26:48 +01:00
Jason Edmeades 3ab449c96a cmd.exe: Add special SET modifiers. 2007-02-26 13:52:23 +01:00
Jason Edmeades e8fa5df394 cmd.exe: Add %random% special name support. 2007-02-26 13:50:36 +01:00
Jason Edmeades 98ae8a6941 cmd.exe: Unify parsing and expansion. 2007-02-26 13:50:21 +01:00
Jason Edmeades 327d7ef9e6 cmd.exe: Add support for call :label and goto :label. 2007-02-26 13:49:21 +01:00
Jason Edmeades 365f86fd7e cmd.exe: Add pushd and popd. 2007-02-26 13:45:48 +01:00
Alexandre Julliard cdca32c12e cmd: Remove execute permission on source files. 2007-02-23 12:51:55 +01:00
Jan Zerebecki 2dd35ac53b cmd: Remove redundant const. 2007-02-23 11:24:25 +01:00
Jason Edmeades c6eee93a67 cmd.exe: Add support for env vars DATE, TIME, CD. 2007-02-21 11:49:06 +01:00
Jason Edmeades 938719062d cmd.exe: Add support for %ERRORLEVEL% in both batch and cmd line. 2007-02-21 11:48:06 +01:00
Jason Edmeades 3bdb64149b cmd.exe: Support return code if fail to launch program. 2007-02-21 11:47:11 +01:00
Jason Edmeades 73587989e7 cmd.exe: Support PATH= as a valid command. 2007-02-21 11:45:42 +01:00
Jason Edmeades fcec39fa2e cmd.exe: Add ~ modifiers for %0-9. 2007-02-21 11:45:23 +01:00
Jason Edmeades 5482924735 cmd.exe: Support :EOF in goto labels. 2007-02-21 11:43:28 +01:00
Jason Edmeades e7dc3f1a35 cmd.exe: Add support for %*. 2007-02-21 11:43:13 +01:00
Jason Edmeades c36664891c cmd.exe: Support exit [/b] returncode. 2007-02-21 11:42:43 +01:00
Jason Edmeades 758a397755 cmd.exe: Add "if defined ..." support. 2007-02-21 11:41:48 +01:00
Hwang YunSong(황윤성) 644b87158f cmd: Updated Korean resource. 2007-02-16 13:14:45 +01:00
Vitaly Lipatov fdf8c1a402 cmd: Fix program name. 2007-02-14 12:21:36 +01:00
Kim Lilliestierna 9d90abe1b9 cmd: Fix the "move" command the same way as the "copy" command. 2007-02-13 17:15:06 +01:00
Anatoly Lyutin 45d4f8ec2b cmd: In function WCMD_goto() changed strcmp() to lstrcmpi(). 2007-01-23 13:07:20 +01:00
Anatoly Lyutin 707a56b20c cmd: Remove incorrect return in WCMD_if(). 2007-01-23 13:06:59 +01:00
Eric Pouech b7923b4200 cmd: Fix 'copy foo bar/' which gave access denied errors. 2006-12-27 13:02:36 +01:00
Markus Amsler 765ff5d629 cmd: Check for argument in copy, mkdir, delete, goto, move, rmdir, rename, type. 2006-10-31 21:53:55 +01:00
Mikołaj Zalewski 58bd35c8c5 resources: Change Dutch sublanguage code to SUBLANG_NEUTRAL. 2006-10-24 17:45:51 +02:00
Mikołaj Zalewski e32aa55703 resources: Change German sublanguage code to SUBLANG_NEUTRAL. 2006-10-24 11:45:12 +02:00
Byeong-Sik Jeon e1fd734c97 Korean: Use SUBLANG_NEUTRAL in Korean resources. 2006-10-20 13:49:39 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Dan Kegel 39857443e4 programs/wcmd: Rename to programs/cmd. 2006-09-07 15:08:44 +02:00