BAT File for Time and Date stamp HACK!

preview_player
Показать описание
Copy and paste the code in the Comments into a File ** DISCLAIMER, THIS IS NOT OUR CODE AND MAY NOT WORK FOR ALL PC'S, WINDOW VERSIONS, AT YOUR OWN RISK ** but it worked perfectly for us!
Рекомендации по теме
Комментарии
Автор

After 3 years trying to change the date and time, it FINALY works. Thanks a lot man. Great.

hansschulte
Автор

This was the only method that worked for me. Thanks

garymcara
Автор

for /F "usebackq tokens=1, 2 delims==" %%i in (`wmic os get LocalDateTime /VALUE 2^>NUL`) do if '.%%i.'=='.LocalDateTime.' set ldt=%%j

set ldt=%ldt:~0, 4%.%ldt:~4, 2%.%ldt:~6, 2% %ldt:~8, 2%:%ldt:~10, 2%:%ldt:~12, 2%



echo %ldt% Y 3 > %CD%\time.txt

chillitechnology
Автор

copy the code from where .plus where can I get a spare battery

chrisnumnuts