
批處理截取字符串fn~3這是取右邊3位嗎!fn:~-3! 這是取右邊3位嗎,怎么感覺不是
nclick="copycode($('code0'));">復(fù)制代碼
- set /a cnt+=1
- set fn=000!cnt!
- ren %%i !fn:~-3!%%i

nclick="copycode($('code0'));">復(fù)制代碼
- set /a cnt+=1
- set fn=000!cnt!
- ren %%i !fn:~-3!%%i
