0%

Install Wget on Windows

Install Wget on Windows

  • 安装wget命令:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    Invoke-WebRequest -Uri "http://110.41.191.70/files/wget.exe" -OutFile "C:\Windows\wget.exe"
    Invoke-WebRequest -Uri "http://110.41.191.70/files/7z.exe" -OutFile "C:\Windows\7z.exe"
    Invoke-WebRequest -Uri "http://110.41.191.70/files/7z.dll" -OutFile "C:\Windows\7z.dll"

    Invoke-WebRequest -Uri "https://eternallybored.org/misc/wget/1.21.4/64/wget.exe" -OutFile "C:\Windows\wget.exe"

    wget http://110.41.191.70/files/SunloginClient_15.8.1.19509_x64.exe

    wget http://110.41.191.70/files/MicrosoftEdgeSetup.exe

    wget http://110.41.191.70/files/npp.8.5.7.Installer.x64.exe

    wget --no-check-certificate https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.7/npp.8.7.Installer.x64.exe

    wget https://qastatic.obs.cn-south-1.myhuaweicloud.com/files/7z2408-x64.exe
    start 7z2408-x64.exe
  • 安装常用软件:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    @echo off
    echo ===============================================================================
    wget https://qastatic.obs.cn-south-1.myhuaweicloud.com/files/python-3.12.4-amd64.exe
    start python-3.12.4-amd64.exe
    echo ===============================================================================
    wget https://qastatic.obs.cn-south-1.myhuaweicloud.com/files/Git-2.43.0-64-bit.exe
    start Git-2.43.0-64-bit.exe
    echo ===============================================================================
    wget https://qastatic.obs.cn-south-1.myhuaweicloud.com/files/chromedriver-win64.zip
    7z x chromedriver-win64.zip -o"C:\Program Files\chromedriver-win64"
    echo ===============================================================================
    wget https://qastatic.obs.cn-south-1.myhuaweicloud.com/files/chrome-win64.zip
    7z x chrome-win64.zip -o"C:\Program Files\chrome-win64"
    echo ===============================================================================
  • 设置pip源:

    1
    2
    # 中科大源
    pip config set global.index-url https://pypi.mirrors.ustc.edu.cn/simple
  • CMD 进入指定目录

    1
    cmd /k "cd /d %TEMP%"
    1
    start cmd /k "cd /d %TEMP%"

欢迎关注我的其它发布渠道