日期:2014-05-17 浏览次数:21646 次
@echo off
for /r F:\Test %%j in (*) do echo %j:~-3%
pause
@echo off
setlocal enabledelayedexpansion
for /r F:\Test %%j in (*) do (
set "file=%%j"
echo,!file:~-3!
)
pause
@echo off
for /r F:\Test %%j in (*) do (
echo,%%~xj
)
pause