Table of Contents

Windows

Zástupce pro rychlou úpravu hosts

%windir%\system32\notepad.exe %windir%\system32\drivers\etc\hosts

Taken from: http://superuser.com/a/52854

dir /a:l /s

Scripting in Windows batch

See http://steve-jansen.github.io/guides/windows-batch-scripting/index.html

Check what is preventing to turn off a display

Source: https://thegeekpage.com/screen-wont-turn-off/

Run `cmd` as Administrator and then:

# to check if it is really slack
powercfg -requests
 
# to resolve the issue
powercfg /requestsoverride PROCESS slack.exe DISPLAY SYSTEM