OpenLiveWriter/run.cmd

18 lines
340 B
Batchfile
Raw Normal View History

2015-12-09 10:38:46 +00:00
@ECHO OFF
SETLOCAL
IF "%OLW_CONFIG%" == "" (
echo %%OLW_CONFIG%% not set, will default to 'Debug'
set OLW_CONFIG=Debug
)
SET WRITER_EXE_PATH="%~dp0src\managed\bin\%OLW_CONFIG%\i386\Writer\OpenLiveWriter.exe"
IF NOT EXIST "%WRITER_EXE_PATH%" (
ECHO ERROR: %WRITER_EXE_PATH% does not exist.
EXIT /B 1
)
CALL %WRITER_EXE_PATH% %*