if defined LIVEBOOK_NODE set RELEASE_NODE="!LIVEBOOK_NODE!" if not defined RELEASE_NODE set RELEASE_NODE=livebook_server if defined LIVEBOOK_DISTRIBUTION set RELEASE_DISTRIBUTION="!LIVEBOOK_DISTRIBUTION!" set RELEASE_MODE=interactive set cookie_path="!RELEASE_ROOT!\releases\COOKIE" if not exist %cookie_path% ( for /f "skip=1" %%X in ('wmic os get localdatetime') do if not defined TIMESTAMP set TIMESTAMP=%%X echo cookie-!TIMESTAMP:~0,11!-!RANDOM! > %cookie_path% )