mirror of
https://github.com/tnodir/fort
synced 2024-11-15 06:46:41 +00:00
Driver: Scripts: Improve paths handling
This commit is contained in:
parent
7fd7d0295e
commit
b55e1fd67b
@ -1,6 +1,6 @@
|
||||
@rem Execute the command
|
||||
|
||||
@cd %~dp0
|
||||
@cd "%~dp0"
|
||||
@echo off
|
||||
|
||||
set "SystemPath=%SystemRoot%\System32"
|
||||
@ -8,4 +8,4 @@ if defined PROGRAMFILES(X86) (
|
||||
if exist %SystemRoot%\Sysnative\* set "SystemPath=%SystemRoot%\Sysnative"
|
||||
)
|
||||
|
||||
start "" /MIN /W %SystemPath%\cmd.exe /C %1
|
||||
start "" /MIN /W %SystemPath%\cmd.exe /C "%~dp0%1"
|
||||
|
@ -1,8 +1,8 @@
|
||||
@rem Re-install driver
|
||||
|
||||
@cd %~dp0
|
||||
@cd "%~dp0"
|
||||
@echo off
|
||||
|
||||
%COMSPEC% /C uninstall.bat
|
||||
%COMSPEC% /C "%~dp0uninstall.bat"
|
||||
|
||||
install.bat
|
||||
"%~dp0install.bat"
|
||||
|
Loading…
Reference in New Issue
Block a user