for /f "delims=" %%a in ('dir /a-d /b /s *.txt') do 此携逗(
for /f "usebackq delims=" %%b in ("%%a") do (
for /f "delims=:" %%c 隐晌in ("%%b") do (
if not defined %%c echo %%b&set "%%c=a"
)
)>>#
move # "%%a"
)
pause
@echo offfor /f "亮手行敬哗delims="薯侍 %%a in (test.txt) do (
set line=%%a
call echo %%line:~2%%
)
pause
@echo offfor /袭祥f "tokens=1,2 delims= " %%l in (ip.txt) do echo %%l %%m
pause读取一行,然后把空格作为分拍耐搏隔符,分成四字符串,去第一个第二个亩缓
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)