How to run processing sketch automatic when my PC is Shuting Up

i want to run my processing sketch automatic when i open my PC. how it is possible and what method should i use. please share Your answer which will very help full for me.

or

can i use batch file for this . if this possible please share batch file information.

besides processing is a graphic app it also has a command line start
https://github.com/processing/processing/wiki/Command-Line ,

also for both way to start processing,
to do a

autostart at boot

might depend very much on the OS.

Assuming your OS is windows, it’s possible to use the Task Scheduler to automatically start a batch file.

This would be done by making a batch file according to the information in the link by kll and then making a “basic task” that runs on startup and executes this file.