diff --git a/ewtools.bat b/ewtools.bat index 1e3b0ed..cd8f9a7 100644 --- a/ewtools.bat +++ b/ewtools.bat @@ -1,2 +1,3 @@ @echo off -node ./bin/ewTools.js %* \ No newline at end of file +set SCRIPT_DIR=%~dp0 +node %SCRIPT_DIR%/bin/ewTools.js %* \ No newline at end of file diff --git a/ewtools.class.bat b/ewtools.class.bat index 8b3e155..122f965 100644 --- a/ewtools.class.bat +++ b/ewtools.class.bat @@ -1,2 +1,3 @@ @echo off -node ./bin/ewTools.class.js %* \ No newline at end of file +set SCRIPT_DIR=%~dp0 +node %SCRIPT_DIR%/bin/ewTools.class.js %* \ No newline at end of file