![]() |
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-24 04:43 |
47,812 topics / 349,917 posts / today 0 new / 48,274 members |
| DOS学习入门 & 精彩文章 (教学室) » The Strongest DOS Command – for (It is a good resource for novices to learn the FOR statement) |
| Printable Version 58,138 / 259 |
| Floor256 kimlx | Posted 2008-10-25 12:42 |
| 新手上路 Posts 5 Credits 10 | |
| Floor257 jchwylmh | Posted 2008-10-28 10:24 |
| 新手上路 Posts 2 Credits 4 | |
|
Great expert! You're my role model!
|
|
| Floor258 xie1986214 | Posted 2008-10-29 13:42 |
| 新手上路 Posts 8 Credits 7 | |
|
for /f "tokens=5 skip=5" %1 in (1.txt) do @if exist %1 @echo %1
The LZ owner, this doesn't work. Please verify. I'm running it on Windows 2003, and 1.txt is in the same directory. Content of 1.txt: Volume in drive D is DATA Volume Serial Number is C47C-9908 Directory of D:\tmp 09/26/2001 12:50 PM 18,426 alg0925.txt 12/02/2001 04:29 AM 795 bsample.txt 04/11/2002 04:18 AM 2,043 invitation.txt 4 File(s) 25,651 bytes 0 Dir(s) 4,060,700,672 bytes free |
|
| Floor259 skypn520 | Posted 2009-01-07 05:46 |
| 新手上路 Posts 5 Credits 9 | |
|
What a detailed tutorial. I saw it once last time and forgot. Now I'll review it carefully again and leave a mark by the way...
|
|
| Floor260 Areahe | Posted 2009-01-09 07:21 |
| 新手上路 Posts 1 Credits 1 | |
|
Got it, let's see. The original text is "学习先咯。谢谢", which translates to "Learning first. Thanks".
|
|
| Prev 1 … 15 16 17 18 |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |