Batch scripts
#1
@echo off
ipconfig >>ip.txt
systeminfo >>x.txt
#2 Change time:
@echo off
time 00:00
#3 Block Google.
@echo off
cd "C:\Windows\System32\Drivers\etc"
echo 127.0.0.1 google.com >> "Hosts"
echo 127.0.0.1 www.google.com >> "Hosts"
#1
@echo off
ipconfig >>ip.txt
systeminfo >>x.txt
#2 Change time:
@echo off
time 00:00
#3 Block Google.
@echo off
cd "C:\Windows\System32\Drivers\etc"
echo 127.0.0.1 google.com >> "Hosts"
echo 127.0.0.1 www.google.com >> "Hosts"
Comments
Post a Comment