[Release] Multiclient for Dummies

09/02/2014 22:53 Mahatma#1
Heyho folks,
I just explored a (new) handy way to start multiple clients without copying the entire kal folder. I haven't really tested it very well but the following trick should work both on int and pserver:

At first you've to create a new .bat-file - just let's name it "mutliclient.bat".
Then you've to edit the file and paste the following code (of course you've to adapt the Source and Destination Variables):
Code:
@echo off & setlocal
Set "Source=C:\InixSoft\KalOnline"
Set "Destination=C:\InixSoft\KalOnlin3"
IF NOT EXIST "%Destination%" MD "%Destination%"
@FOR /d %%x IN ("%Source%\*") do @(
    mklink /d "%Destination%\%%~nx%%~xx" "%%x"
)
@FOR %%x IN ("%Source%\*") do @(
    mklink /h "%Destination%\%%~nx%%~xx" "%%x"
)
Afterwards you've to save the file and execute it as Admin. It won't work without Admin-Permissions because they're needed to create the directory links.

Use it at your own risks - as mentioned I didn't really test it very well yet. I usually don't use bat scripts so it could be that the 'code' is a bit ugly. :P
For further information you should start reading about the mklink command and symbolic/hard links.

Greetings,
Mahatma
09/04/2014 06:54 valzzz40#2
Thanks ^^
10/09/2014 03:48 elrayk77#3
it real may work :) testing it creates 20mb Folder like shortcuts of the files :)
10/09/2014 17:18 Lungi#4
why would he post smth that doesnt work?
10/14/2014 07:17 jitipapa#5
works thank you