脚本如下: @echo off @setlocal enableextensions @cd /d "%~dp0" set InstallPath=C:\DBoxService\Server set UtilToolPath=C:\Windows\Microsoft.NET\Framework\v2.0.50727 echo Local installation folder - %InstallPath% IF NOT EXIST "%InstallPath%"
@echo off f: cd F:\mysql-win32 @echo off&setlocal enabledelayedexpansion cd bin echo ###### 停止当前数据库 ###### net stop mysql mysqld -remove echo ## sc delete mysql echo ###### 安装数据库 ###### mysqld -install echo ###### 启动数据库 ###### net start mysql echo ##
# -*- coding: utf-8 -*- import os import sys import subprocess import time from uiautomator import device as d subprocess.check_output(r'adb install E:\Project\work\exercise\app_list\程序.apk') 输出如下: adb: usage: filename doesn't end .apk: E:\Project\wo