I want a system restart batch script to:
- On first execution, it should put this script in startup folder
- It should re-start the system. So that it keeps on restarting user's system.
Can you please guide me in this? Thanks in advance
The command to restart your PC is
Your startup folder can be accessed via an environment variable
Your batch file to create another batch in that folder with a specific command could look like