How run a batch file and started in windows 10 and windows 8

On desktop let create a shortcut to the existing batch file.

after point the mouse over the shortcut and right click selecting cut

then go start and type the run and press enter.

this it will appear a window where you need to type shell:startup

the startup folder it will open

select Home in the tab and past the shortcut