How to apply batch variables
Editor to share with you how to apply batch variables, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Specific application:
1. Get the variable quantum string: echo% date:~0,4%%date:~5,2%%date:~-2,2%%time:~0,2%%time:~3,2%%time:~6,2%
2. Variable content replacement: set str=000111000 & & echo% str:000=222% & & echo% date:-=%%time::=%
3. Delay variable environment extension: cmd / v:on
Set / a jambo0
For / l% I in (1meme 1je 10) do set / a jacks, etc.
The above is all the content of this article "how to apply batch variables". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!