Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- if "%1"=="" goto :help
- if "%1"=="-h" goto :helpop
- if not "%2"=="" goto toomany
- call :makelink %1
- goto :done
- :makelink
- echo. -------- %1 ----------
- if exist ..\..\FactorioH\mods\%~nx1 echo %~n1 is already installed
- if not exist ..\..\FactorioH\mods\%~nx1 mklink /H ..\..\FactorioH\mods\%~nx1 "%1"
- goto :eof
- :toomany
- echo %2- not expected
- echo hardlink one at the time.
- :helpop
- echo HARDLINK mod-zip-file
- :help
- echo Drop the mod-zip-file on this bat-file to make a hardlink
- echo File wil be linked into active mod-pack
- :done
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement