标签:rar off dexp shell2 == ken rgb bat creat
anki-start.bat
ankiserverctl.py start "F:\AnkiServer_3\production.ini"
anki-stop.bat
@echo off setlocal enabledelayedexpansion set port=27701 for /f "tokens=1-5" %%a in (‘netstat -ano ^| find ":%port%"‘) do ( if "%%e%" == "" ( set pid=%%d ) else ( set pid=%%e ) echo !pid! taskkill /f /pid !pid! ) pause
ankiserverctl.py adduser anki "F:\AnkiServer_3\production.ini"
ankiserverctl.py deluser anki "F:\AnkiServer_3\production.ini"
Set oShell = CreateObject ("Wscript.Shell") Dim strArgs strArgs = "cmd /c F:\AnkiServer_3\anki-stop.bat" oShell.Run strArgs, 0, false Set oShell2 = CreateObject ("Wscript.Shell") Dim strArgs2 strArgs2 = "cmd /c F:\AnkiServer_3\anki-start.bat" oShell2.Run strArgs2, 0, false
Set oShell = CreateObject ("Wscript.Shell") Dim strArgs strArgs = "cmd /c F:\AnkiServer_3\anki-start.bat" oShell.Run strArgs, 0, false
Set oShell = CreateObject ("Wscript.Shell") Dim strArgs strArgs = "cmd /c F:\AnkiServer_3\anki-stop.bat" oShell.Run strArgs, 0, false
转载请注明出处 :http://www.cnblogs.com/qq-757617012/
标签:rar off dexp shell2 == ken rgb bat creat
原文地址:https://www.cnblogs.com/qq-757617012/p/9341951.html