This Knowledgebase article provides information about running a Neverfail Start or Stop script from the command line.
When running a Start or Stop script from the command line, the script will fail because 'NfNet' is not recognized as an internal or external command.
To allow successful execution of the script, add the Neverfail bin directory to the windows path variable. Alternatively, execute the script from the neverfail\r2\bin directory e.g. c:\neverfail\r2\bin>...\scripts\exchange\stop.bat.
Substitute the Neverfail Heartbeat install location at step 4 to reflect the correct location for the \R2\bin directory:
- On the desktop, right-click 'My Computer' and then select 'Properties'.
- Click on the 'Advanced' tab
- Select 'Environment Variables'.
- Under System Variables (lower half of the box), highlight the path and click on Edit . At the end of the line, enter 'C\Neverfail\R2\bin' (without the quotes).
to exit each screen navigating back to the desktop.
6. Go to Start -> Run . Type CMD and click OK (to open command prompt).
7. Type Path, and press ENTER . You should see that the C:\Neverfail\R2\bin (or its equivalent) has been appended to the end of the line
8. Now type Exit to close the command prompt.
Note: This issue does not affect the execution of the scripts from within the Neverfail Heartbeat Management Client.