
A versatile command-line Windows utility that provides shell scripts with the ability to easily validate the parameters that have been provided at the command-line, including compound options. It also facilitates the conversion of strings to integers in a safe and consistent manner.
-c, --check ............... List of user-supplied parameters (in quotes) to check for.
-x, --extra, --check2 ..... Additional user-supplied parameters to look for (see USAGE NOTES).
-s, --search .............. Search through these contents to find any of the -c parameters.
-n, --get-number .......... Attempt to convert a string value into an integer (decimal or hex) equivalent.
--min ................. Set the minimum number allowed for the -n integer.
--max ................. Set the maximum number allowed for the -n integer.
--mp, --min-params .... Generate a return code if the number of provided parameters is less than this.
-o, --oneline ............. Provide response on a single line: number of parameters, parameters found.
-w, --which ............... Enable one-line mode and add position of found parameter, if any.
-q, --quiet ............... Same as -O, but will only provide TRUE or <blank> for the second response.
For more details, see:
CHECKPARAMS /??
Tested on Windows XP, 7, 8, 8.1, 10, and 11 (both x86 and x64)
Tested on Windows 2003, 2008-R2, 2012-R2, 2016, 2019, and 2022 (both x86 and x64)
Comments