It's really good~! It seems that coming to the DOS Union was the right choice!
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
DigestII
View 56,322 Replies 63
if "!line:~%%i,1!"=="" goto :EOF
set /p= !line:~%%i,1!<nul
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 ]
C:\TEMP>echo echo 响一声儿~:) ^G >a.bat
C:\TEMP>a
C:\TEMP>echo 响一声儿~:)
响一声儿~:)
%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.
%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,@cd|set/p= %,:~%i,1%
@cd|