mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 00:13:01 -05:00
tools/deploy.bat: simply driver deployment batch file
This commit is contained in:
parent
ab2aa36dad
commit
2b55702d88
13
tools/deploy.bat
Normal file
13
tools/deploy.bat
Normal file
@ -0,0 +1,13 @@
|
||||
@echo off
|
||||
|
||||
set DRIVER=winfsp-x64.sys
|
||||
set TARGET_MACHINE=WIN8DBG
|
||||
set TARGET_ACCOUNT=\Users\%USERNAME%\Downloads\winfsp\
|
||||
set TARGET=\\%TARGET_MACHINE%%TARGET_ACCOUNT%
|
||||
|
||||
echo on
|
||||
cd %~dp0..
|
||||
mkdir %TARGET% 2>nul
|
||||
copy build\VStudio\build\Debug\%DRIVER% %TARGET%
|
||||
echo sc create winfsp type=filesys binPath=%%~dp0%DRIVER% >%TARGET%sc-create.bat
|
||||
echo sc delete winfsp >%TARGET%sc-delete.bat
|
Loading…
x
Reference in New Issue
Block a user