Baidu searched the shell command and wrote the .bat file in windows, and found that there was a problem with running it no matter what. It turned out that the command under linux was different from the command under windows.
Grammar rules under linux: Shell script common commands - Long Haoxue - 博客园
Grammar rules under windows: Windows shell basic grammar - BonSan - 博客园
And can not be random spaces
example
Variable assignment and output under window
@echo off
set a=10
echo %a%
pause
Variable assignment and output under linux
a=10
echo $a