Table 5.4: Set Expression Operators
Operator Description
() Group expression elements
! ~ - Not, negate, and negative unary operators
* / % Multiply, divide, and modulus arithmetic operators
+ - Add and subtract arithmetic operators
<< >> Right and left logical shift
& Bitwise AND
^ Bitwise exclusive OR
| Bitwise OR
= *= /= %= += -= &= ^= |= <<= >>= Assignment operators
, Expression separator
124 CHAPTER 5 CREATING CMD AND BAT FILES
/U [domain\]user Specifies the username on the remote system. This name may not match
the username on the local system. You??™ll need to supply a domain name when working with a
domain controller.
/P [password] Specifies the password for the given user. You can provide the command line
switch without specifying the password on the command line in cleartext. The system prompts
you for the password. Using this feature can help you maintain the security of passwords used
on your system.
var Contains the name of the variable you wish to change.
value Sets the specified variable to the supplied value. You don??™t have to provide the equals
sign (=) as you do when working with the Set command. Place values with spaces within
double quotes.
Pages:
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341