Get local ghost blog on Windows 10 to start up automatically

I have a local ghost blog on my Windows 10 PC. Presently, I have to go to the ghost folder and manually run “ghost start” command to start the ghost blog process.

I would like to make it start automatically when Windows 10 powers up.

How can this be done?

Thanks.

You can use task scheduler with a “user login” trigger. How to create an automated task using Task Scheduler on Windows 10 | Windows Central

You might need to use the absolute path to the Ghost command, and you can use the -d flag to specify the directory (e.g. ghost start -d "C:\ghost\")