reactos/base/applications/cmdutils
He Yang 5874c66e41
[TASKKILL] Improve taskkill utility (#2459)
Make the argument process of command utility "taskkill" behave same as what Windows does.

Now options are no longer detected as parameters when placed after options that accept one.
For example, `taskkill /im /f` will no longer regard `/f` as a process name.

If `/?` and `/f` options appear more than once, an error will be reported, telling they are not allowed more than once.
(e.g. `taskkill /f /pid 1000 /f`)

If only one option `/f` is given without `/pid` or `/im`, an eerror will be reported, telling that one must specify `/pid` or `/im`.
(e.g. `taskkill /f`)

Additional changes:
- Combine SendCloseMessages() and TerminateProcesses() functions.
- Protect new written code with `#ifdef __REACTOS__`
2020-04-03 17:37:53 +02:00
..
at [REACTOS] Fix remaining ' \n' typos, in *.rc (#2393) 2020-03-06 19:08:25 +01:00
attrib [REACTOS] Fix remaining ' \n' typos, in *.rc (#2393) 2020-03-06 19:08:25 +01:00
chcp [REACTOS] Fix remaining ' \n' typos, in *.rc (#2393) 2020-03-06 19:08:25 +01:00
clip [TRANSLATIONS] Estonian for various base applications 2018-11-07 16:58:16 +01:00
comp [CMDUTILS] Add italian translation for 'comp' utility. (#1931) 2019-10-08 16:52:30 +02:00
cscript [CSCRIPT][WSCRIPT] Sync with Wine Staging 3.17. CORE-15127 2018-10-01 00:11:58 +01:00
dbgprint [APPLICATIONS] Fix 64 bit issues 2018-08-04 19:19:34 +02:00
doskey [REACTOS] Fix remaining ' \n' typos, in *.rc (#2393) 2020-03-06 19:08:25 +01:00
eventcreate [REACTOS] Fix remaining ' \n' typos, in *.rc (#2393) 2020-03-06 19:08:25 +01:00
find [TRANSLATION] Polish translation update (#1916) 2019-09-20 21:51:47 +02:00
fsutil [FSUTIL] Mark some functions as static (only used in this file) 2020-03-26 16:39:16 +01:00
help [REACTOS] Fix remaining ' \n' typos, in *.rc (#2393) 2020-03-06 19:08:25 +01:00
hostname [HOSTNAME] Retrieve the DNS *host name* of the computer, and not the computer name. 2019-06-16 01:00:40 +02:00
label [LABEL] Fix MSVC build. 2019-09-22 16:19:07 +02:00
lodctr
mode [CMDUTILS] Add italian translation for mode command. (#1992) 2019-10-26 22:17:48 +02:00
mofcomp
more [REACTOS] Fix remaining ' \n' typos, in *.rc (#2393) 2020-03-06 19:08:25 +01:00
reg [REG] Sync with Wine Staging 4.18. CORE-16441 2019-12-23 00:58:26 +01:00
schtasks [SCHTASKS] Sync with Wine Staging 3.3. CORE-14434 2018-03-25 12:53:36 +01:00
sort
taskkill [TASKKILL] Improve taskkill utility (#2459) 2020-04-03 17:37:53 +02:00
timeout [TIMEOUT] Use Int32x32To64 instead of __emul 2019-08-20 22:31:55 +02:00
tree [TRANSLATIONS] Estonian for various base applications 2018-11-07 16:58:16 +01:00
whoami [REACTOS] Fix remaining ' \n' typos, in *.rc (#2393) 2020-03-06 19:08:25 +01:00
wmic [WMIC] Sync with Wine Staging 4.0. CORE-15682 2019-01-25 13:06:19 +01:00
wscript [CSCRIPT][WSCRIPT] Sync with Wine Staging 4.18. CORE-16441 2019-12-23 00:58:01 +01:00
xcopy [TRANSLATION] Update the existing romanian resources 2019-01-29 13:48:48 +01:00
CMakeLists.txt [LABEL][CMD] Convert the label command to a standalone executable 2019-09-22 14:51:23 +02:00