Get the App
SLTechnology News&Howtos  ›  Development  › 

How to apply batch variables

Shulou Source: shulou.com Published: 2022-06-03 07:52:38 11月15日 Update

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!

Tags: Variables applications content articles not much most characters strings more environment knowledge industry information information channels quantum channels references learning help delay Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Shulou Tech Info NVidia Apple OPPO Reno