Answer the question
In order to leave comments, you need to log in
How can I make the Windows console command be automatically executed when the OS starts?
I am writing a bot for Discord (via discord.js), I need to run the node (file) command every time the system starts up to start the bot. If this can be done in another way, then I added tags so as not to deviate from the topic.
Answer the question
In order to leave comments, you need to log in
Either the script in the startup folder, or use the Task Scheduler (trigger - user logon, file being launched - node with parameters).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question