From 6b51b12c129649372e5eb4b7b3bec38081784d09 Mon Sep 17 00:00:00 2001 From: Kowlin Date: Sat, 30 Jul 2016 04:49:12 +0200 Subject: [PATCH] Fix for running as Admin on Windows. --- startRed.bat | 3 ++- startRedLoop.bat | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/startRed.bat b/startRed.bat index dd3fe9c44..5268d570f 100644 --- a/startRed.bat +++ b/startRed.bat @@ -1,3 +1,4 @@ chcp 65001 +pushd %~dp0 python red.py -pause \ No newline at end of file +pause diff --git a/startRedLoop.bat b/startRedLoop.bat index 10d08bd59..100896f45 100644 --- a/startRedLoop.bat +++ b/startRedLoop.bat @@ -1,8 +1,9 @@ @Echo off chcp 65001 +pushd %~dp0 :Start python red.py timeout 3 -goto Start \ No newline at end of file +goto Start