Multiple choice technology programming languages

Command which is used to add variables within a batch file

  1. add var

  2. var

  3. add

  4. 1%

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

In DOS batch files, variables are created using the 'set' command (e.g., 'set var=value'). The notation '%1%' represents the first parameter passed to the batch file. 'add var', 'var', and 'add' are not valid batch commands.