From e5e96ee8b48a736ecf78131586196e41516945f7 Mon Sep 17 00:00:00 2001 From: Vasil Rangelov Date: Thu, 24 Dec 2015 16:45:02 +0200 Subject: [PATCH] Made the gns3server.bat successfully start the server independent of the CWD at the time of running. It's now relative to the location of the .bat file itself. --- gns3server.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gns3server.bat b/gns3server.bat index ff132074..b5448a41 100644 --- a/gns3server.bat +++ b/gns3server.bat @@ -1,2 +1,2 @@ -SET PYTHONPATH=. -python.exe gns3server/main.py --debug --local +SET PYTHONPATH=%~dp0 +python.exe %~dp0/gns3server/main.py --debug --local