还有就是像这个贴子:
飞入+变色
@echo off&setlocal enabledelayedexpansion&cls&color 0f&title Welcome to CN-DOS!
:: code by bagpipe 2006-11-10
mode con: cols=30 lines=3
set "a= CN-DOS"
set "b="
set "c=12345689abcde"
echo\
:c
for /l %%a in (6,1,28) do (
set /a d=%random%%%13+1
call :pp %%a
)
goto c
:pp
set/p=!a:~-%1!<nul
set/p=!b:~0,%1!<nul
color 0!c:~%d%,1!
goto :eof
set/p=!a:~-%1!<nul一句为什么会没有设置变量名??
[ Last edited by weapfe on 2006-12-23 at 11:48 AM ]作者: redtek 时间: 2006-12-24 01:42 因为 set/p=!a:~-%1!<nul 这句就是想把红色标注的变量内容显示出来~:)