diff --git a/pyminer.bat b/pyminer.bat new file mode 100644 index 0000000000000000000000000000000000000000..19e081f9e9278a0db8ee2630b71c5b4a6270010c --- /dev/null +++ b/pyminer.bat @@ -0,0 +1,7 @@ +@echo off +rem 两个变量拼接,等号前后一定不要有空格 +rem pymminer_road:pyminer.bat 文件路径,默认 pyminer.bat 和 app.py 同一个路径 +set pyminer_road=%~dp0 +set app=app.py +set pyminer_path=%pyminer_road%%app% +python %pyminer_path% \ No newline at end of file