中国DOS联盟论坛

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-23 22:09
47,812 topics / 349,917 posts / today 0 new / 48,274 members
DOS批处理 & 脚本技术(批处理室) » A Brief Analysis of the Helpless Signature Code
Printable Version  57,282 / 63
Floor31 aqjazz Posted 2006-11-20 04:03
新手上路 Posts 2 Credits 4
It's really good~! It seems that coming to the DOS Union was the right choice!
Floor32 tao0610 Posted 2006-11-20 06:44
高级用户 Posts 218 Credits 579

Floor33 hxuan999 Posted 2006-11-23 05:52
中级用户 Posts 161 Credits 337
Good post, bump~~~~
Floor34 redtek Posted 2006-11-25 03:08
金牌会员 Posts 1,147 Credits 2,902
Originally posted by tao0610 at 2006-11-19 17:44:


The 20th floor is this!
How to input the ASCII code for ringing?
Can line breaks be represented by ASCII codes?

[ Last edited by tao0610 on 2006-11-20 at 02:05 PM ]



ASCII code for ringing: alt+07 or CTRL+G and other methods can be used to input ~ : )

Floor35 anhui8080 Posted 2006-11-25 12:38
新手上路 Posts 10 Credits 18
I. All are experts;
II. All are quite modest ^○^
Floor36 ciao Posted 2006-11-28 06:52
初级用户 Posts 10 Credits 20
All are strong people! `` I support
Floor37 liuxin31554155 Posted 2007-01-19 05:45
新手上路 Posts 7 Credits 14
Really a strong person, respect
Floor38 liuxin31554155 Posted 2007-01-19 06:06
新手上路 Posts 7 Credits 14
One word: strong ~
Floor39 jtyuer Posted 2007-01-21 09:21
初级用户 Posts 29 Credits 73
AlasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasDas唉……这一点点的代码足以让我琢磨一辈子了!惭愧啊,痴活了三十几年,看了LZ的【LZ的解释】,还是一头雾水。
惭愧,脸红……

Wait, no, I made a mistake earlier. Let's do it correctly.

The correct translation for the given content:

Oh... This little bit of code is enough to make me ponder for a lifetime! Ashamed, I've lived more than thirty years, and after reading LZ's explanation, I'm still completely confused.
Ashamed, blushing...

But need to follow the requirements precisely. Let's do it step by step.

Original Chinese text:
唉……这一点点的代码足以让我琢磨一辈子了!惭愧啊,痴活了三十几年,看了LZ的解释,还是一头雾水。
惭愧,脸红……

Translation:
Oh... This little bit of code is enough to make me ponder for a lifetime! Ashamed, I've lived over thirty years, but after reading LZ's explanation, I'm still completely at a loss.
Ashamed, blushing...
Floor40 qjbm Posted 2007-02-05 14:27
初级用户 Posts 44 Credits 125
%ComSpec% /cset,=何奈无── 。何奈可无是原,事奈无做人奈无&for,/l,%i,in,(22,-1,0)do,@call,,|set/p=%,:~%i,1%<nul

The last output segment uses a pipe symbol, and it can still be reduced by 7.8 characters.

[ Last edited by qjbm on 2007-2-5 at 01:37 AM ]
Floor41 无奈何 Posted 2007-02-05 15:35
荣誉版主 Posts 356 Credits 1,338
%ComSpec% /cset,=He Nai Wu ── 。He Nai Ke Wu Shi Yuan, Shi Nai Wu Zuo Ren Nai Wu&for,/l,%i,in,(22,-1,0)do,@call,,|set/p=%,:~%i,1%<nul

The last output segment uses a pipe symbol, and it can still be reduced by 7.8 characters.




RE qjbm
Brother's idea of using the pipe symbol for delay is very good, which has streamlined a lot of characters. This is a very good optimization and simplification. The only regret is that the interval time of the custom typing effect cannot be set.
Inspired by brother, I simplified a few more characters as follows:


[ Last edited by Wu Nai He on 2007-2-5 at 04:31 PM ]
Floor42 qjbm Posted 2007-02-07 09:22
初级用户 Posts 44 Credits 125
This

is even more shrouded in mystery, haha.
Floor43 PPdos Posted 2007-02-07 09:54
高级用户 Posts 268 Credits 783
cd is probably the shortest one, so the owner chose it
Floor44 无奈何 Posted 2007-02-08 04:01
荣誉版主 Posts 356 Credits 1,338
The principle of set/p has been very clearly explained by Brother willsort.
cd| makes an empty output.
<nul makes an empty input.
Both submitted to set/p are the same, just that the pipe command is a bit slower, having an effect similar to delay.
Floor45 csx163 Posted 2007-02-10 14:30
初级用户 Posts 45 Credits 97
I really don't want to disturb the experts' chat, but good posts still need to be topped...
Prev  1 2 3 4 5  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023