标题:
请教个问题
[打印本页]
作者:
xueshe16x
时间:
2008-4-26 05:42
标题:
请教个问题
set /a
instr
=45
endlocal&echo %nstr:~
45
,-1%
我想用变量instr 放进下面语句45那里应该咋写 ?
用INSTR替换45
作者:
bat-zw
时间:
2008-4-26 09:31
标题:
请参照以下代码:
注意call的使用:
CODE:
[Copy to clipboard]
@echo off
set str=cn-dos
set n=2
call,echo %%str:~%n%,1%%
pause>nul
作者:
xueshe16x
时间:
2008-4-26 12:49
非常感谢!!zw19750516
欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/)
Powered by Discuz! 2.5