![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-09-25 11:44 |
47,813 topics / 349,918 posts / today 0 new / 48,274 members |
| DOS批处理 & 脚本技术(批处理室) » [Reference for Arrangement] The Role of Symbols under CMD/DOS |
| Printable Version 159,608 / 216 |
| Floor121 FFLOVE | Posted 2008-10-16 18:44 |
| 新手上路 Posts 2 Credits 3 | |
|
Thanks for sharing!!!!!!!!!!!!!!!!!!!!1
|
|
| Floor122 laihaibin08 | Posted 2008-10-19 17:08 |
| 新手上路 Posts 15 Credits 13 | |
|
Thank you very much, the LZ (thread starter) and the enthusiastic brothers above. Good post
|
|
| Floor123 wltx0808 | Posted 2008-10-21 08:21 |
| 新手上路 Posts 2 Credits 2 | |
|
Not quite understand, first bookmark it and read it slowly...
|
|
| Floor124 aihejiating | Posted 2008-10-21 13:13 |
| 新手上路 Posts 14 Credits 18 | |
|
Moderator lxmxn, I want to ask about the second function of the colon: "Separating the relationship between the variable name and the replaced string in %var:string1=string2%". What does it mean? Can you give an example?
|
|
| Floor125 aihejiating | Posted 2008-10-21 21:49 |
| 新手上路 Posts 14 Credits 18 | |
|
I see, so there are explanations here http://www.cn-dos.net/forum/viewthread.php?tid=34049&fpage=1
|
|
| Floor126 qinchun36 | Posted 2008-10-30 23:22 |
| 高级用户 Posts 400 Credits 609 | |
|
Got it. The help in CMD itself doesn't have these. I used to be very confused before.
|
|
| Floor127 xie1986214 | Posted 2008-11-02 10:03 |
| 新手上路 Posts 8 Credits 7 | |
|
The LZ, in order to make it easier for novices to understand, I suggest that it would be best if each symbol can be given some simple examples.
Thank you, LZ! |
|
| Floor128 wuwei880 | Posted 2008-11-07 12:09 |
| 初级用户 Posts 12 Credits 22 | |
|
Batch content:
@echo off setlocal enabledelayedexpansion for /f "skip=1 tokens=1,2 delims=\" %%a in ('fsutil fsinfo drives^|find /v ""') do ( set aa=%%a set aa=!aa:~-2! for %%i in (!aa!) do fsutil fsinfo drivetype %%i ) pause |
|
| Floor129 wuwei880 | Posted 2008-11-07 16:00 |
| 初级用户 Posts 12 Credits 22 | |
|
I'm sorry, I just started learning batch processing. "I understand the problem of 'Please, all you seniors, what does the part between the two! in the sentence set aa=!aa:~-2! mean' now."
|
|
| Floor130 iyou | Posted 2008-11-10 15:01 |
| 新手上路 Posts 20 Credits 18 | |
|
I'm a newbie and don't understand what "set /a" means. Which expert can give me a hand?
|
|
| Floor131 koe1981 | Posted 2008-11-11 03:40 |
| 新手上路 Posts 10 Credits 8 | |
|
Learning
|
|
| Floor132 kennybao | Posted 2008-11-12 16:55 |
| 新手上路 Posts 8 Credits 8 | |
|
Good post, truly a highlight. Thanks
|
|
| Floor133 killkk | Posted 2008-11-12 20:38 |
| 初级用户 Posts 39 Credits 61 From come from hb--wh | |
|
Good stuff.. Take your time to look..
|
|
| Floor134 hedgehog | Posted 2008-11-13 22:31 |
| 新手上路 Posts 4 Credits 4 | |
|
Very good and useful
|
|
| Floor135 zuiwangqiuyue | Posted 2008-11-14 14:07 |
| 新手上路 Posts 19 Credits 19 | |
|
This is exactly what I was looking for, thank you!
|
|
| Prev 1 … 6 7 8 9 10 11 12 … 15 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |