怎么用bat文件讀取文字和歌曲?
@echo off
set "file=ABC DEF.GHI"
for /f "usebackq tokens=1* delims=:" %%a in ("%file%") do (
set "%%a=%%b"
)
for /f "usebackq delims=:" %%a in ("%file%") do set %%a按行讀取ABC DEF.GHI文件,設置變量,最后一行顯示已經設置的變量
怎么用bat文件讀取文字和歌曲?
@echo off
set "file=ABC DEF.GHI"
for /f "usebackq tokens=1* delims=:" %%a in ("%file%") do (
set "%%a=%%b"
)
for /f "usebackq delims=:" %%a in ("%file%") do set %%a按行讀取ABC DEF.GHI文件,設置變量,最后一行顯示已經設置的變量