This is a discussion on Re: Multiple if/else - Windows NT ; "fuzzy !!" wrote: >... how can I better specify an action if two conditions exist? A color-keyed example of this process is in "Booming or Fuming?" Follow this link ( http://BoomingOrFuming.com/Booming/A...FS%20OF%20IF%2 0-%2020030115.htm) The example uses the SelectCase Pattern to process ...
"fuzzy !!" wrote:
>... how can I better specify an action if two conditions exist?
A color-keyed example of this process is in "Booming or Fuming?" Follow
this link
(http://BoomingOrFuming.com/Booming/A...FS%20OF%20IF%2
0-%2020030115.htm)
The example uses the SelectCase Pattern to process up to four choices. You
can also request the (FREE) Advanced Pattern Script,
"TSG_SelectCase.Pattern.cmd", a fully commented template that you can edit
for your specific needs, at (http://TheSystemGuard.com/Scripts)
The pattern is applicable to any scripting question where the answer can be
processed as A, B, C, D or "None of the Above". A practical implementation
is the "GetOS" Mount/\Command
(http://TheSystemGuard.com/MtCmds/GetValue/GetOS.htm).
*******
-tsg
__________________________________________________ __________
TheSystemGuard.com | BoomingOrFuming.com | MountCommands.com
Free and "Almost Free" Knowledge for Windows System Admins!