RAR批量压缩
@echo off
::指定WinRAR安装路径和程序
set "rarpath=C:\Program Files\WinRAR\Rar.exe"
for /f "delims=" %%a in ('dir /b ^|find /v "%~nx0"') do "%rarpath%" a "%%~na" "%%a"
pause
批量重命名
ren *.txt *.sql
ren *.txt *.
重置网络
netsh winsock reset
win10 LTSC 图片查看
@echo off&cd\&color 0a&cls
echo 恢复Win10照片查看器
reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".jpg" /t REG_SZ /d PhotoViewer.FileAssoc.Tiff /f
reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".jpeg" /t REG_SZ /d PhotoViewer.FileAssoc.Tiff /f
reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".bmp" /t REG_SZ /d PhotoViewer.FileAssoc.Tiff /f
reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".png" /t REG_SZ /d PhotoViewer.FileAssoc.Tiff /f
echo 请双击或右击图片,选择“照片查看器”即可
pause
DNS
github被解释成127.0.0.1.。。。
140.82.121.3 github.com
140.82.121.4 github.com
140.82.121.5 github.com
140.82.121.6 github.com
140.82.114.22 collector.github.com
140.82.121.5 api.github.com
140.82.114.21 support.github.com
140.82.113.21 support-assets.github.com
140.82.121.4 gist.github.com
140.82.121.9 codeload.github.com
151.101.121.194 github.global.ssl.fastly.net
#199.232.69.194 github.global.ssl.fastly.net
192.0.66.2 github.blog
151.101.121.229 cdn.jsdelivr.net
2606:4700::6810:5514 cdn.jsdelivr.net
#104.16.85.20 cdn.jsdelivr.net
143.244.38.139 cdn.rawgit.com
185.199.109.154 docs.github.com
185.199.110.154 docs.github.com
185.199.111.154 docs.github.com
185.199.108.154 docs.github.com
185.199.108.153 assets-cdn.github.com
185.199.109.153 assets-cdn.github.com
185.199.110.153 assets-cdn.github.com
185.199.111.153 assets-cdn.github.com
2606:50c0:8000::153 assets-cdn.github.com
2606:50c0:8001::153 assets-cdn.github.com
2606:50c0:8002::153 assets-cdn.github.com
2606:50c0:8003::153 assets-cdn.github.com
185.199.108.153 github.io
185.199.111.153 github.io
185.199.110.153 github.io
185.199.109.153 github.io
185.199.108.153 binance-docs.github.io
185.199.111.153 binance-docs.github.io
185.199.110.153 binance-docs.github.io
185.199.109.153 binance-docs.github.io
185.199.108.133 raw.githubusercontent.com
185.199.111.133 raw.githubusercontent.com
185.199.110.133 raw.githubusercontent.com
185.199.109.133 raw.githubusercontent.com
185.199.108.133 cloud.githubusercontent.com
185.199.111.133 cloud.githubusercontent.com
185.199.110.133 cloud.githubusercontent.com
185.199.109.133 cloud.githubusercontent.com
185.199.108.133 camo.githubusercontent.com
185.199.111.133 camo.githubusercontent.com
185.199.110.133 camo.githubusercontent.com
185.199.109.133 camo.githubusercontent.com
185.199.108.133 avatars0.githubusercontent.com
185.199.108.133 avatars1.githubusercontent.com
185.199.108.133 avatars2.githubusercontent.com
185.199.108.133 avatars3.githubusercontent.com
185.199.108.133 avatars4.githubusercontent.com
185.199.108.133 avatars5.githubusercontent.com
185.199.108.133 avatars6.githubusercontent.com
185.199.108.133 avatars7.githubusercontent.com
185.199.108.133 avatars8.githubusercontent.com
185.199.111.133 avatars0.githubusercontent.com
185.199.111.133 avatars1.githubusercontent.com
185.199.111.133 avatars2.githubusercontent.com
185.199.111.133 avatars3.githubusercontent.com
185.199.111.133 avatars4.githubusercontent.com
185.199.111.133 avatars5.githubusercontent.com
185.199.111.133 avatars6.githubusercontent.com
185.199.111.133 avatars7.githubusercontent.com
185.199.111.133 avatars8.githubusercontent.com
185.199.110.133 avatars0.githubusercontent.com
185.199.110.133 avatars1.githubusercontent.com
185.199.110.133 avatars2.githubusercontent.com
185.199.110.133 avatars3.githubusercontent.com
185.199.110.133 avatars4.githubusercontent.com
185.199.110.133 avatars5.githubusercontent.com
185.199.110.133 avatars6.githubusercontent.com
185.199.110.133 avatars7.githubusercontent.com
185.199.110.133 avatars8.githubusercontent.com
185.199.109.133 avatars0.githubusercontent.com
185.199.109.133 avatars1.githubusercontent.com
185.199.109.133 avatars2.githubusercontent.com
185.199.109.133 avatars3.githubusercontent.com
185.199.109.133 avatars4.githubusercontent.com
185.199.109.133 avatars5.githubusercontent.com
185.199.109.133 avatars6.githubusercontent.com
185.199.109.133 avatars7.githubusercontent.com
185.199.109.133 avatars8.githubusercontent.com