Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- IF [%1]==[] (
- echo Value Missing
- goto EOF
- )
- if exist %1 goto FAIL
- mkdir %1
- for %%f in (EVE\*) do (
- mklink /H "%~dpnx1\%%~nxf" "%%~dpnxf"
- )
- for /d %%d in (EVE\*) do (
- if [%%d]==[EVE\launcher] (
- mkdir %1\launcher
- xcopy "%%~dpnxd" "%~dpnx1\launcher" /k /s
- ) else (
- mklink /J "%~dpnx1\%%~nxd" "%%~dpnxd"
- )
- )
- goto EOF
- :FAIL
- echo "%1 already exists"
- :EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement