When I was bored, I tested a short piece of code. Like this...
Changing time to random gives the same result. Aren't system variables like these all dynamically calculated in real time~? Why is it that after assigning a value manually, it no longer changes in real time?
@echo off&setlocal enabledelayedexpansion
echo %time%
set time=a&echo !time!
pause
echo %time%
echo %time%
echo %time%
pauseChanging time to random gives the same result. Aren't system variables like these all dynamically calculated in real time~? Why is it that after assigning a value manually, it no longer changes in real time?
心绪平和,眼藏静谧,无比安稳的火... Purification of soul...Just a false...^_^

