From 28bca250927385f3274cc147ecacb431a5a80a72 Mon Sep 17 00:00:00 2001 From: MBRjun <55020690+MBRjun@users.noreply.github.com> Date: Sun, 20 Jun 2021 21:47:02 +0800 Subject: [PATCH] Update run.bat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cd %~dp0 用于cd到当前目录 使用管理员权限或Administrator账户运行脚本默认路径为%windir%\system32 --- latest version/run.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/latest version/run.bat b/latest version/run.bat index 01ab869..318fc98 100644 --- a/latest version/run.bat +++ b/latest version/run.bat @@ -1 +1,2 @@ -python -B main.py \ No newline at end of file +cd %~dp0 +python -B main.py