@echo off
REM set hostsfile=%windir%\System32\drivers\etc\hosts
REM set temphostsfile=temphosts.txt
REM set domain=xixi.io
REM
REM findstr /v/c:"%domain%" %hostsfile% > %temphostsfile%
REM echo %domain% >> %temphostsfile%
REM move /y %temphostsfile% %hostsfile%
REM start(create if needed) docker machine
set dockermachinename=xixi
docker-machine ls | findstr /c:"%dockermachinename%"