@echo off
cd /d "%~dp0"
set "CONFIG_FILE=%~1"
if "%CONFIG_FILE%"=="" set "CONFIG_FILE=%~dp0influxdb.conf"
influxd.exe -config "%CONFIG_FILE%"