Skip to content

Commit 6ef33d7

Browse files
committed
Merge branch 'main' of https://github.com/kpj2006/SkillBot
2 parents b306146 + 37a95d2 commit 6ef33d7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

start_bot_hidden.vbs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
Set WshShell = CreateObject("WScript.Shell")
22
Dim botDir
3-
botDir = "E:\Template-Repo-Main\SkillBot"
3+
Set WshShell = CreateObject("WScript.Shell")
4+
Set fso = CreateObject("Scripting.FileSystemObject")
5+
Dim botDir
6+
botDir = fso.GetParentFolderName(WScript.ScriptFullName)
47
WshShell.Run "cmd /c cd /d """ & botDir & """ && venv\Scripts\python.exe bot.py", 0, False

0 commit comments

Comments
 (0)