![]() |
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-28 12:19 |
47,813 topics / 349,918 posts / today 0 new / 48,277 members |
| DOS批处理 & 脚本技术(批处理室) » How to represent a progress status with "\-/"? |
| Printable Version 27,345 / 57 |
| Floor31 done | Posted 2006-11-02 01:33 |
| 新手上路 Posts 5 Credits 9 | |
|
Replaced . with ▌
|
|
| Floor32 yangzhiyi | Posted 2006-11-02 02:05 |
| 中级用户 Posts 123 Credits 261 | |
Originally posted by kawakumo at 2006-11-1 13:58: This is the real problem I just want to know, for example, to display the progress when copying files, no need for progress correspondence, just display it, and the progress will not be displayed after copying is completed. |
|
| Floor33 chenall | Posted 2006-11-03 20:41 |
| 银牌会员 Posts 469 Credits 1,276 From 福建泉州 | |
|
The effect is not very good. Running this will copy c:\windows\*.* to the current directory and display the progress.
[ Last edited by chenall on 2006-11-3 at 08:46 PM ] |
|
| Floor34 kawakumo | Posted 2006-11-04 08:33 |
| 初级用户 Posts 9 Credits 32 | |
|
That's really great, impressive!
|
|
| Floor35 skyearth | Posted 2006-11-10 00:41 |
| 初级用户 Posts 13 Credits 34 | |
|
I also come to improve, display a progress loop with vertical lines, heh!
@echo off setlocal enabledelayedexpansion set b=^|/-\ set 速度=1 set 退格= :b for /l %%i in (0,1,200) do call :a %%i goto :b :a set/a a=%1%%4 set/p=!b:~%a%,1!<nul ping/n %速度% 127.1>nul set/p=%退格%<nul goto :eof |
|
| Floor36 terse | Posted 2006-11-19 07:43 |
| 银牌会员 Posts 946 Credits 2,404 | |
|
Can the progress loop be positioned in a specific location on the screen by oneself?
|
|
| Floor37 hxuan999 | Posted 2006-11-23 06:43 |
| 中级用户 Posts 161 Credits 337 | |
|
Learning
|
|
| Floor38 donpps | Posted 2006-12-14 00:41 |
| 初级用户 Posts 20 Credits 56 | |
|
The demonstration on floor 33 shows the situation of file copying, taking the number of copied files as the step size. What if only copying one relatively large file (>=500m)? It would be nice if the progress bar could be synchronized with the called subroutine.
|
|
| Floor39 a11yesno | Posted 2007-03-02 16:30 |
| 新手上路 Posts 6 Credits 18 | |
|
nb doesn't like using ping to control latency, uses
for /l %%i in (1,1,1000) do echo %%i>nul instead [ Last edited by a11yesno on 2007-3-2 at 04:36 AM ] |
|
| Floor40 xycoordinate | Posted 2007-03-03 04:35 |
| 中级用户 Posts 228 Credits 493 From 安徽 | |
|
chenall:
for %%i in (%SystemRoot%\*.*) do (call :a !n!© %%i>nul 2>nul&set /a n+=1) Can't see clearly! Why??? (%SystemRoot%\*.*) set/a a=%1%%10 Is it %1 divided by 10 and take the remainder? set/a c=%a%%%4 Is it %a% divided by 4 and take the remainder? © %%i>nul Harmful!!! Fortunately, you didn't &del %%i>nul That would be terrible! ![]() [ Last edited by xycoordinate on 2007-3-2 at 03:49 PM ] |
|
| Floor41 zhoushijay | Posted 2007-03-03 07:11 |
| 高级用户 Posts 375 Credits 845 | |
|
It really started spinning, -_-! It's really powerful!
|
|
| Floor42 yjhyxing | Posted 2007-03-12 06:52 |
| 初级用户 Posts 21 Credits 24 From 广东 | |
|
Develop the good habit of reading and replying to posts
|
|
| Floor43 windeshadow | Posted 2007-04-17 02:21 |
| 初级用户 Posts 15 Credits 38 | |
|
Wahaha
|
|
| Floor44 GOTOmsdos | Posted 2007-04-17 03:08 |
| 铂金会员 Posts 1,827 Credits 5,154 | |
|
Well, the way to get ASCII control characters is pretty good, quite enjoyable..
But if you just want to get the 0x08 character, can you just enter 08 with a hex editor? |
|
| Floor45 xuewenzi | Posted 2007-04-17 04:35 |
| 新手上路 Posts 2 Credits 4 | |
|
It's a big deal! The effect of the brother on the sixth floor is good, but it just looks uncomfortable
|
|
| Prev 1 2 3 4 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |