0

It doesn't appear to be a batch construct so here is the context:

 if %1.==. timeout /t 10 &call wscript /e:JScript "%~f0" runas setup &exit &rem : no arguments, run setup elevated
user5389726598465
  • 1,418
  • 2
  • 14
  • 25
  • 2
    Type `if /?` It is a batch construct. It is also the original of three comparison operator in MSDos. The line is using `.` to test if `%1` is blank, else the line would error. –  Dec 03 '19 at 05:47
  • @Mark . has to be appended to filenames? – user5389726598465 Dec 03 '19 at 05:52
  • 4
    `==` is the comparison operator. The dots are used on either side to ensure something appears on either side to perform a comparison. The way this is used is a common method of checking for empty strings, but the wrong way. `if /?` can show you better ways. – shawn Dec 03 '19 at 05:56

0 Answers0