I found one StackOverflow discussion about it, but there was no answer.
And apparently, they don't consider it a "programming-based" question (which is why I am asking here.)
Anyways, I made a Batch file, that detects whether or not you use Windows 10 - Now I just need to know how you activate (And deactivate) Night Light with Batch [Or if it's possible in the first place] - The button that lies behind the Display Settings.
I marked "Something to activate it" because I need something to activate it (Like I said). Anything that could relate to the control desk.cpl command, or just something completely different, would help. - As long as it directly activates/deactivates the Night Light function.
:nightlight
for /f "tokens=2 delims=," %%i in ('wmic os get caption^,version /format:csv') do set os=%%i
echo %os%|find " 10 ">nul &&goto win10||goto other
:win10
color 0a
echo Windows 10 Activating Night Light
*SOMETHING TO ACTIVATE IT* > nul
goto A
Thanks in advance.