Search notes:

cmd.exe: set /a to evaluate mathematical expressions

The set /a command in cmd.exe allows to calculate a basic mathematical expression and assign it to a variable.
@set /a forty_two=(20/2+3*3+2)*2
@echo %forty_two%
Github repository about-cmd.exe, path: /commands/set/a_eval-math-expression.bat
set /a can, for example, be used along with goto and if to create a sequence of numbers.

See also

set
Other cmd.exe commands

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Windows/...', 1758194329, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/dirs/Windows/System32/cmd_exe/commands/set/a(48): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78