Skip to content

Instantly share code, notes, and snippets.

@cnleo
Last active May 1, 2022 19:33
Show Gist options
  • Save cnleo/0525c346a9eb2c0d71eaa19c171215e0 to your computer and use it in GitHub Desktop.
Save cnleo/0525c346a9eb2c0d71eaa19c171215e0 to your computer and use it in GitHub Desktop.
junction for microsoft minecraft source packs
@echo off
REM simple to update source packs once for all your installs; here it is in "C:\Minecraft\Source Packs"
mklink /j "C:\Users\<you>\AppData\Roaming\.minecraft\resourcepacks" "C:\Minecraft\Source Packs"
mklink /j "C:\Minecraft\Feed the Beast Launcher\Minecraft Installs\FTBUltimateReloaded\minecraft\resourcepacks" "C:\Minecraft\Source Packs"
mklink /j "C:\Minecraft\TechnicLauncher\Install\.technic\modpacks\tekkitmain\resourcepacks" "C:\Minecraft\Source Packs"
REM to delete the junction use follow e.g.:
REM rmdir "C:\Minecraft\TechnicLauncher\Install\.technic\modpacks\tekkitmain\resourcepacks"
REM remember, the folder and files will not be deleted, of course
REM https://docs.microsoft.com/windows-server/administration/windows-commands/rmdir
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment