Last active
October 8, 2023 12:54
-
-
Save highgain86j/b90e94d803601bb30eecf0afdb79a468 to your computer and use it in GitHub Desktop.
This batch file makes the management of VST plugins easier on Windows.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rem @echo off | |
if "%PROCESSOR_ARCHITECTURE%" equ "AMD64" ( | |
rem x64 | |
if not exist "%ProgramFiles%\Common Files\VST2" ( | |
mkdir "%ProgramFiles%\Common Files\VST2" | |
) | |
if not exist "%ProgramFiles%\Common Files\VST3" ( | |
mkdir "%ProgramFiles%\Common Files\VST3" | |
) | |
if not exist "%ProgramFiles%\Common Files\Steinberg" ( | |
mkdir "%ProgramFiles%\Common Files\Steinberg" | |
) | |
if not exist "%ProgramFiles%\Steinberg" ( | |
mkdir "%ProgramFiles%\Steinberg" | |
) | |
if not exist "%ProgramFiles%\VSTPlugins" ( | |
mklink /J "%ProgramFiles%\VSTPlugins" "%ProgramFiles%\Common Files\VST2" | |
) | |
if not exist "%ProgramFiles%\Steinberg\VSTPlugins" ( | |
mklink /J "%ProgramFiles%\Steinberg\VSTPlugins" "%ProgramFiles%\Common Files\VST2" | |
) | |
if not exist "%ProgramFiles%\Common Files\Steinberg\VST2" ( | |
mklink /J "%ProgramFiles%\Common Files\Steinberg\VST2" "%ProgramFiles%\Common Files\VST2" | |
) | |
rem x86 | |
if not exist "%ProgramFiles(x86)%\Common Files\VST2" ( | |
mkdir "%ProgramFiles(x86)%\Common Files\VST2" | |
) | |
if not exist "%ProgramFiles(x86)%\Common Files\VST3" ( | |
mkdir "%ProgramFiles(x86)%\Common Files\VST3" | |
) | |
if not exist "%ProgramFiles(x86)%\Common Files\Steinberg" ( | |
mkdir "%ProgramFiles(x86)%\Common Files\Steinberg" | |
) | |
if not exist "%ProgramFiles(x86)%\Steinberg" ( | |
mkdir "%ProgramFiles(x86)%\Steinberg" | |
) | |
if not exist "%ProgramFiles(x86)%\VSTPlugins" ( | |
mklink /J "%ProgramFiles(x86)%\VSTPlugins" "%ProgramFiles(x86)%\Common Files\VST2" | |
) | |
if not exist "%ProgramFiles(x86)%\Steinberg\VSTPlugins" ( | |
mklink /J "%ProgramFiles(x86)%\Steinberg\VSTPlugins" "%ProgramFiles(x86)%\Common Files\VST2" | |
) | |
if not exist "%ProgramFiles(x86)%\Common Files\Steinberg\VST2" ( | |
mklink /J "%ProgramFiles(x86)%\Common Files\Steinberg\VST2" "%ProgramFiles(x86)%\Common Files\VST2" | |
) | |
) | |
pause | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment