S
S
sbh2014-12-08 08:33:51
cmd/bat
sbh, 2014-12-08 08:33:51

How to assign a numeric value to a variable in a bat nickname using the keyboard?

Tell me how to assign a numeric value to a variable from the console in a bat-nickname.
There are options for the set command such as /a - the value is calculated and /p - the value is entered in the console. I think to somehow combine them and use them, but so far it has not worked out. If only /p is used, then the value is not assigned, because only a string can be assigned, but I need to use this value further in a cycle, i.e. I need a number.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question