我的BATCH脚本一直存在问题,但我无法弄清楚它是什么。 现在它说“语法错误” 如果你修复了脚本,我会给你下载控制软件。 这是我的剧本:
@echo off
echo welcome to Nexus
echo loading project file
pause
if exist C:\nexus\nexus\proj
\nexus.nexus
echo Loaded!
echo Settings:
>nul find "-f" nexus.nexus && (
echo -f
call -f.bat
) || (
echo errortest)
>nul find "-c" nexus.nexus && (
echo -c
call -c.bat
) || (
echo errortest)
>nul find "-e" nexus.nexus && (
echo -e
call -e.bat
) || (
echo errortest)
>nul find "-b" nexus.nexus && (
echo -b
call -b.bat
) || (
echo errortest)
>nul find "-nex" nexus.nexus && (
echo -nex
call -nex.bat
) || (
echo errortest)
>nul find "-nexdev" nexus.nexus
&& (
echo -nexdev
call -nexd.bat
) || (
echo errortest)
) else (
echo ERROR:FILE
NONEXISTENT
echo exiting
exit
)
echo project complete
pause
echo exiting
exit