2022-05-31 23:29:43 +02:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
set T=c:\TEMP
|
|
|
|
set TOOLS=c:\tools
|
2023-02-01 21:52:39 +01:00
|
|
|
set ZIP=..\software\brother-dcp-mcp-drivers.EXE
|
2022-05-31 23:29:43 +02:00
|
|
|
|
|
|
|
if NOT EXIST %ZIP% (
|
|
|
|
echo ERROR: %ZIP% not found!
|
|
|
|
exit /b
|
|
|
|
)
|
|
|
|
|
|
|
|
echo ####### %0 #######
|
|
|
|
|
2023-02-01 21:52:39 +01:00
|
|
|
echo unpacking Brother DCP and MCP printer drivers ...
|
2022-05-31 23:29:43 +02:00
|
|
|
%TOOLS%\7z x -y -aoa -o"%T%" %ZIP%
|
|
|
|
|
|
|
|
echo renaming ...
|
|
|
|
move /Y %T%\gdi %T%\brother
|
|
|
|
echo.
|
|
|
|
|
|
|
|
echo +++++++++++++++++++++++++++++++++++++++++++++++++++++
|
2023-02-01 21:52:39 +01:00
|
|
|
echo INFO: brother drivers for DCP and MCP printers
|
|
|
|
echo extracted in path [ %T%\brother ]
|
2022-05-31 23:29:43 +02:00
|
|
|
echo +++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
echo.
|
|
|
|
|
|
|
|
echo ####### %0 #######
|
|
|
|
pause
|
|
|
|
|