Answer the question
In order to leave comments, you need to log in
How to query a variable in cmd?
Hi all. Tell me, please, how can I set a variable request from a batch file?
For example, I want to make a batch file that would copy a file from one disk to another, and after starting, the question would be raised, from which disk to copy, then to which disk to copy.
What disk to copy from? [specify the letter of the section]
Then this variable is filled in and is substituted in the right place in the script.
I can not correctly formulate a query for the search, so I ask here
Thank you.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question