hobune Channels Contact About Donate

Stopping the time in Windows

View comments (243)

Description YT

Hello, my friends! Let's hit 1000 likes? Check out my website! https://malwat.ch
Today I am going to show you how I have stopped the time in Windows!

Code:
@echo off

rem Get time and date and put them into variables
for /F "tokens=2" %%i in ('date /t') do set date=%%i
set time=%time%

rem Debug
echo %date%
echo %time%

rem Set time and date in a loop with 900ms delay
:a
date %date%
time %time%
ping 1.1.1.1 -n 1 -w 900 (angled bracket) nul
goto a

Still have any questions? Send them to realendermanch@gmail.com!
Wish you to have a great day!

#endermanch #experiments #windows #time