Created
January 10, 2018 15:17
-
-
Save tomfanning/911361fa42a371dc58043c0b8cc7c18a to your computer and use it in GitHub Desktop.
Replace VS2017 layout in-place
This file contains hidden or 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
@echo off | |
rem A vs2017 folder must exist within this UNC | |
pushd %targetunc% | |
md %UserProfile%\Desktop\vs2017 | |
copy vs2017\vs_professional.exe %UserProfile%\Desktop\vs2017 | |
start /wait %UserProfile%\Desktop\vs2017\vs_professional.exe --layout %UserProfile%\Desktop\vs2017 --quiet | |
del /q /s vs2017 | |
rd /q /s vs2017 | |
robocopy /move /e %UserProfile%\Desktop\vs2017 vs2017 * | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment