tools: update deploy.bat

This commit is contained in:
Bill Zissimopoulos 2015-12-28 16:09:18 -08:00
parent 72fdea5e78
commit 2ae7c9ab43

View File

@ -6,11 +6,10 @@ set TARGET_MACHINE=WIN8DBG
set TARGET_ACCOUNT=\Users\%USERNAME%\Downloads\winfsp\ set TARGET_ACCOUNT=\Users\%USERNAME%\Downloads\winfsp\
set TARGET=\\%TARGET_MACHINE%%TARGET_ACCOUNT% set TARGET=\\%TARGET_MACHINE%%TARGET_ACCOUNT%
echo on
cd %~dp0.. cd %~dp0..
mkdir %TARGET% 2>nul mkdir %TARGET% 2>nul
for %%f in (winfsp-%SUFFIX%.sys winfsp-%SUFFIX%.dll winfsp-tests-%SUFFIX%.exe mirror-%SUFFIX%.exe) do ( for %%f in (winfsp-%SUFFIX%.sys winfsp-%SUFFIX%.dll winfsp-tests-%SUFFIX%.exe mirror-%SUFFIX%.exe) do (
copy build\VStudio\build\%CONFIG%\%%f %TARGET% copy build\VStudio\build\%CONFIG%\%%f %TARGET% >nul
) )
echo sc create WinFsp type=filesys binPath=%%~dp0%DRIVER% >%TARGET%sc-create.bat echo sc create WinFsp type=filesys binPath=%%~dp0%DRIVER% >%TARGET%sc-create.bat
echo sc start WinFsp >%TARGET%sc-start.bat echo sc start WinFsp >%TARGET%sc-start.bat