• Nioxic@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    Not in school.

    But i have written a .bat scipt in notepad on an unlocked laptop in a store

    Then added the script into the startup folder.

    The script would restart the pc after 30 seconds.

    shutdown -r -t 30

    (R for restart, t for time, 30 means 30 seconds) its harmless… but also super frustrating

    Write it in a notepad file. Save it as a .bat file