Skip to content

Commit

Permalink
Merge pull request #724 from venimus/findstr-path
Browse files Browse the repository at this point in the history
Fix "'findstr' is not recognized as ..."
  • Loading branch information
tsloughter authored May 27, 2019
2 parents 1275cdd + 86da583 commit ba7be7e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions priv/templates/extended_bin_windows
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@echo off
:: This batch file handles managing an Erlang node as a Windows service.
::
:: Commands provided:
Expand All @@ -20,6 +21,9 @@
@set erts_vsn={{ erts_vsn }}
@set erl_opts={{ erl_opts }}

:: Make sure `findstr` is accessible
@set PATH=%PATH%;%SystemRoot%\System32

:: Discover the release root directory from the directory
:: of this script
@set script_dir=%~dp0
Expand Down

0 comments on commit ba7be7e

Please sign in to comment.