@echo off for /f "tokens=1,2 delims=," %%x in (my.csv) do ( if %M% LSS %%x set M=%%x ) echo Max X Value= %M%
有时它工作正常,有时失败并出现以下错误:
%x was unexpected at this time.
windows cmd batch-file
batch-file ×1
cmd ×1
windows ×1