Skip to content

Instantly share code, notes, and snippets.

@jedie
Created August 28, 2013 07:19
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jedie/6363031 to your computer and use it in GitHub Desktop.
@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