Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@echo off
title %~0
cd /d %~dp0
REM install batch for http://www.scriptspot.com/3ds-max/scripts/dimaster
REM script from: https://gist.github.com/jedie/6363031
call:verbose_do xcopy /s /f /y Plugins\*.ms "%ProgramFiles%\Autodesk\3ds Max 2014\plugins\"
call:verbose_do xcopy /s /f /y Icons\*.bmp "%LOCALAPPDATA%\Autodesk\3dsMax\2014 - 64bit\ENU\usericons\"
call:verbose_do xcopy /s /f /y MacroScripts\*.mcr "%LOCALAPPDATA%\Autodesk\3dsMax\2014 - 64bit\ENU\usermacros\"
pause
goto:eof
:verbose_do
echo.
echo %*
echo.
%*
echo.
if NOT "%errorlevel%"=="0" (
echo Error! Errorlevel: %errorlevel%
echo.
echo Maybe you must run this script with administrator rights!
echo.
echo.
pause
exit
)
goto:eof
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment