『第
39 楼』:
感谢!收获很大:lol:
基于这个,我写了个小东西,希望有人指点一二。
这段东西看着觉得比较繁琐,不晓得有没有更好一点的写法 :(
另:
运行的时候,有时候会有错误提示:
The process tried to write to a nonexistent pipe.
这个时候,字符串就显示不出来……不确定是什么原因,待达人指教!THX!
::Feelin' [CMD@WinXP Pro SP2]
::[Purpose] Display name with the color
::[Date] 2008-01-03
::[Time] 2:55:43.29
::main
@title LOVE
@set varF=
@set varC=
@set varL=
@set line=
::Feelins [46,65,65,6C,69,6E,73]
@set "varF=A,100$_MOV,AH,09$_MOV,AL,20$_MOV,BH,00$_MOV,BL,0C$_MOV,CX,09$_INT,10"
@set "varF=%varF%$_MOV,AL,73$_MOV,BL,08$_MOV,CX,08$_INT,10"
@set "varF=%varF%$_MOV,AL,6E$_MOV,BL,08$_MOV,CX,07$_INT,10"
@set "varF=%varF%$_MOV,AL,69$_MOV,BL,08$_MOV,CX,06$_INT,10"
@set "varF=%varF%$_MOV,AL,6C$_MOV,BL,08$_MOV,CX,05$_INT,10"
@set "varF=%varF%$_MOV,AL,65$_MOV,BL,08$_MOV,CX,04$_INT,10"
@set "varF=%varF%$_MOV,AL,46$_MOV,BL,08$_MOV,CX,02$_INT,10"
@set "varF=%varF%$_MOV,AL,20$_MOV,BL,08$_MOV,CX,01$_INT,10"
@set "varF=%varF%$_INT,20$_$_G$_Q$_"
::Cecilia [43,65,63,69,6C,69,61]
@set "varC=A,100$_MOV,AH,09$_MOV,AL,20$_MOV,BH,00$_MOV,BL,0C$_MOV,CX,09$_INT,10"
@set "varC=%varC%$_MOV,AL,61$_MOV,BL,07$_MOV,CX,08$_INT,10"
@set "varC=%varC%$_MOV,AL,69$_MOV,BL,07$_MOV,CX,07$_INT,10"
@set "varC=%varC%$_MOV,AL,6C$_MOV,BL,07$_MOV,CX,06$_INT,10"
@set "varC=%varC%$_MOV,AL,69$_MOV,BL,07$_MOV,CX,05$_INT,10"
@set "varC=%varC%$_MOV,AL,63$_MOV,BL,07$_MOV,CX,04$_INT,10"
@set "varC=%varC%$_MOV,AL,65$_MOV,BL,07$_MOV,CX,03$_INT,10"
@set "varC=%varC%$_MOV,AL,43$_MOV,BL,07$_MOV,CX,02$_INT,10"
@set "varC=%varC%$_MOV,AL,20$_MOV,BL,07$_MOV,CX,01$_INT,10"
@set "varC=%varC%$_INT,20$_$_G$_Q$_"
::Loves [4C,6F,76,65,73]
@set "varL=A,100$_MOV,AH,09$_MOV,AL,73$_MOV,BH,00$_MOV,BL,0C$_MOV,CX,07$_INT,10"
@set "varL=%varL%$_MOV,AL,65$_MOV,BL,0C$_MOV,CX,06$_INT,10"
@set "varL=%varL%$_MOV,AL,76$_MOV,BL,0C$_MOV,CX,05$_INT,10"
@set "varL=%varL%$_MOV,AL,6F$_MOV,BL,0C$_MOV,CX,04$_INT,10"
@set "varL=%varL%$_MOV,AL,4C$_MOV,BL,0C$_MOV,CX,03$_INT,10"
@set "varL=%varL%$_MOV,AL,20$_MOV,BL,0C$_MOV,CX,02$_INT,10"
@set "varL=%varL%$_INT,20$_$_G$_Q$_"
@set "line=A,100$_MOV,AH,09$_MOV,AL,2A$_MOV,BH,00$_MOV,BL,02$_MOV,CX,0A$_INT,10"
@set "line=%line%$_INT,20$_$_G$_Q$_"
::Display
@CLS
@echo/
@echo exit|%ComSpec% /K prompt %line%|Debug>nul
@echo/
@echo exit|%ComSpec% /K prompt %varF%|Debug>nul
@echo/
@ping -n 1 127.1 1>nul 2>nul
@echo exit|%ComSpec% /K prompt %varL%|Debug>nul
@echo/
@ping -n 1 127.1 1>nul 2>nul
@echo exit|%ComSpec% /K prompt %varC%|Debug>nul
@echo/
@echo exit|%ComSpec% /K prompt %line%|Debug>nul
@echo/
@echo/
@pause>nul
::End
|