Advertisement
sebbu

fix junctions

Dec 9th, 2017
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. set PATH=%PATH%;D:\Downloads\SysinternalsSuite
  3. C:
  4. cd \
  5. cd "\Program Files"
  6. junction -nobanner -d dotnet
  7. junction -nobanner dotnet "D:\Program Files\dotnet"
  8. junction -nobanner -d "Microsoft SDKs"
  9. junction -nobanner "Microsoft SDKs" "D:\Program Files\Microsoft SDKs"
  10. cd "\Program Files (x86)"
  11. junction -nobanner -d Android
  12. junction -nobanner Android "D:\Program Files (x86)\Android"
  13. junction -nobanner -d "Microsoft SDKs"
  14. junction -nobanner "Microsoft SDKs" "D:\Program Files (x86)\Microsoft SDKs"
  15. junction -nobanner -d "Microsoft Visual Studio"
  16. junction -nobanner "Microsoft Visual Studio" "D:\Program Files (x86)\Microsoft Visual Studio"
  17. junction -nobanner -d "Microsoft Visual Studio 10.0"
  18. junction -nobanner "Microsoft Visual Studio 10.0" "D:\Program Files (x86)\Microsoft Visual Studio 10.0"
  19. junction -nobanner -d "Microsoft Visual Studio 11.0"
  20. junction -nobanner "Microsoft Visual Studio 11.0" "D:\Program Files (x86)\Microsoft Visual Studio 11.0"
  21. junction -nobanner -d "Microsoft Visual Studio 12.0"
  22. junction -nobanner "Microsoft Visual Studio 12.0" "D:\Program Files (x86)\Microsoft Visual Studio 12.0"
  23. rem junction -nobanner -d "Microsoft Visual Studio 13.0"
  24. rem junction -nobanner "Microsoft Visual Studio 13.0" "D:\Program Files (x86)\Microsoft Visual Studio 13.0"
  25. junction -nobanner -d "Microsoft Visual Studio 14.0"
  26. junction -nobanner "Microsoft Visual Studio 14.0" "D:\Program Files (x86)\Microsoft Visual Studio 14.0"
  27. junction -nobanner -d "Microsoft Visual Studio 15.0"
  28. junction -nobanner "Microsoft Visual Studio 15.0" "D:\Program Files (x86)\Microsoft Visual Studio 15.0"
  29. junction -nobanner -d "Windows Kits"
  30. junction -nobanner "Windows Kits" "D:\Program Files (x86)\Windows Kits"
  31. cd \ProgramData
  32. junction -nobanner -d Desura
  33. junction -nobanner Desura D:\ProgramData\Desura
  34. junction -nobanner -d "Package Cache"
  35. junction -nobanner "Package Cache" "D:\ProgramData\Package Cache"
  36. junction -nobanner -d "High-Logic FontService"
  37. junction -nobanner "High-Logic FontService" "D:\ProgramData\High-Logic FontService"
  38. cd Microsoft
  39. junction -nobanner -d VisualStudio
  40. junction -nobanner VisualStudio D:\ProgramData\Microsoft\VisualStudio
  41. junction -nobanner -d AndroidNDK
  42. junction -nobanner AndroidNDK D:\ProgramData\Microsoft\AndroidNDK
  43. cd ..
  44. cd \Users\sebbu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement