* added batch scripts to vs project

* fixed driver-start

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
Toni Uhlig
2020-03-23 23:57:53 +01:00
parent b223166a29
commit 84c2170f4d
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -9,6 +9,9 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PastDSECtrl", "PastDSECtrl\
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{0A9168C8-BEF5-4D49-9418-BD83423885E5}"
ProjectSection(SolutionItems) = preProject
driver-sign.bat = driver-sign.bat
driver-start.bat = driver-start.bat
driver-stop.bat = driver-stop.bat
README.md = README.md
EndProjectSection
EndProject
+1 -1
View File
@@ -1,7 +1,7 @@
@echo off
set SCNAME=PastDSE
set DRIVER="%~dp0\x64\Debug\PastDSEDriver.sys"
if not exist %DRIVER% set DRIVER="%~dp0\bin\x64\Debug\PastDSEDriver.sys"
if not exist %DRIVER% set DRIVER="%~dp0\bin\x64\Debug\PastDSEDriver-cert_0.sys"
net session >nul 2>&1
if %ERRORLEVEL% EQU 0 (