I have a Node Server.
And I want that my Node Server starts automatically when my Pc Starts.
Right Now I am doing this Manually.
Like this:
First I open Command Prompt.
Then I Type
cd nodeThen I type
node server.js
I want these 3 Steps to perform automatically when my Pc starts.
Any solution please ?
1 Answer
Write your Script to a .bat file C:\node server.js and place in %AppData%\Microsoft\Windows\Start Menu\Programs\Startup\ The script will run when you login.