last backup ...

This commit is contained in:
2026-01-08 11:39:42 +03:30
parent afafeca00a
commit 963e045e65
249 changed files with 328192 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
@echo off
set METAEDITOR="C:\Program Files\MetaTrader 5\MetaEditor64.exe"
@REM set METAEDITOR="C:\Program Files\MetaTrader 5 General\MetaEditor64.exe"
@REM set METAEDITOR="C:\Program Files\MetaTrader 5 Main\MetaEditor64.exe"
@REM set METAEDITOR="C:\Program Files\MetaTrader 5 General\MetaEditor64.exe"
set "LOGFILE=%~dpn1.log"
if "%~1"=="" (
echo "You must specify the first parameter to this batch file."
goto end
)
:: Compile the MQL5 way
%METAEDITOR% /compile:%1 /log
:: 0 = failed
:: 1 = everything good
echo "Error level %ERRORLEVEL%"
:: This dumps the log file to stdout so it can be seen.
:: It's assumed to be in the same directory as the expert file.
type "%LOGFILE%"
:: Once shown, get rid of the .log file.
erase "%LOGFILE%"
:end
:: If I want the CMD.exe window to go away, use exit
::exit %ERRORLEVEL%