WEBVTT

00:08.460 --> 00:15.510
Windows Shell supports several comparison operators and I've already mentioned some of them earlier.

00:15.600 --> 00:24.870
Comparison evaluates a conditional expression to the values of either true or false comparison operators

00:24.870 --> 00:33.490
so enable you to perform Salm test manueverable greater than or equal to another for example.

00:33.600 --> 00:42.090
And to use the result to determine whether or not a particular statement block used to be executed several

00:42.090 --> 00:50.730
operators are available to compare numeric and stry and well use when used to perform comparisons on

00:50.730 --> 00:51.260
screen.

00:51.270 --> 01:00.310
Well is the comparison of use in the operators which you can see on my screen and they are case insensitive.

01:00.420 --> 01:11.220
So if you operator tests for equality the next run is not equal it tests for inequality duty greater

01:11.220 --> 01:17.920
then tests whether they're well you're on the left is greater than the value on the right.

01:18.090 --> 01:27.990
The greater or equal less whether the failure on the left is greater name or equal to the well all the

01:28.270 --> 01:36.920
right to less than just whether the Velia on the left is less than the value of the ride.

01:37.140 --> 01:46.370
The less Orrick will test whether Well you're on the left is less than or equal to the well.

01:46.400 --> 01:47.490
All right.

01:47.500 --> 01:55.860
We have also like operator tests use in wild car X whether to match the wild card.

01:55.980 --> 01:57.560
Go on the right side.

01:57.660 --> 02:00.570
Not like test you than wild cards.

02:00.620 --> 02:04.220
Weather too well has failed to match their wild card.

02:04.230 --> 02:07.320
Go on the right side match operator.

02:07.380 --> 02:15.120
It tests using regular expressions whether to well match the regular expression goes on the right side

02:15.360 --> 02:17.160
not match operator.

02:17.220 --> 02:23.190
It tests using regular expressions whether to well has failed to match.

02:23.190 --> 02:26.550
And again the regular expression goes on the right side.

02:26.670 --> 02:36.420
The next following operators are constructed by Ed and see to the operator name and each test is case

02:36.510 --> 02:43.340
sensitive so the operators are quite the same as the ones I've already mentioned.

02:43.470 --> 02:48.870
But they all go with see a letter like see if you see any.

02:49.020 --> 02:59.490
And so although the comparison operator such as you and G.T. are used case insensitively Windows Shell

02:59.550 --> 03:08.130
also provides explicitly case insensitive comparison operators which are described on my screen so we

03:08.130 --> 03:15.430
have the same operators but they all come with a letter like I.

03:15.590 --> 03:25.690
It tests for case insensitive equality eye and ear test for cancer insensitive inequality and so on.

03:25.860 --> 03:32.820
And again to use their help file about the comparison operators type the following command to the prompt.

03:32.890 --> 03:36.870
How about underscore comparison and just corporator.
