Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch.nt    |    Fun with Windows NT batch files    |    68,980 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 68,890 of 68,980    |
|    Zaidy036 to R.Wieser    |
|    Re: Missing Operand    |
|    18 Sep 25 12:50:25    |
      From: Zaidy036@air.isp.spam              On 9/18/2025 12:43 PM, R.Wieser wrote:       > Zaidy,       >       >> I fell stupid but for the life of me I cannot see an error but Win 11 batch       >> reports missing operand.       >       >> SET /A T-Day=%T-Min% + (%T-Hour% * 60) <<< missing operand ????       >       > :-) the cause is rather simple : the "-" in the first, target variables       > name is, by the expression evaluator, seen as a minus sign.       >       > Regards,       > Rudy Wieser       >       >       As I said stupid....thanks. Changed the "-" to "_"              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca