I debated on putting this in Chorizotarian's Powershell thread on the same subject, but decide not to a) to not clutter that thread, and b) maybe make it easier for somebody searching.
Basically, this is the .bat file script I use to do the same thing described there, namely, create a new wow directory (I call it wow2) that is a symbolically linked version of my primary wow directory (wow1 in this case). This has been discussed at length in other posts, but the basic reason to do this is increase performance while multiboxing, but still keep things like mods, keybindings, macros, etc in one place (this is where the linking comes in) so that updates are easier. The key difference is that it uses the native .bat file syntax.
Here it is:
To use this, you will need to download this utility and install it, which is basically what makes these "links".Code:@echo off FOR /f %%I IN ('dir /b /a:-d wow1') DO ( echo %%I fsutil hardlink create wow2\%%I wow1\%%I ) junction wow2\Cache wow1\Cache junction wow2\Data wow1\Data junction wow2\EquipCompare wow1\EquipCompare junction wow2\Errors wow1\Errors junction wow2\Logs wow1\Logs junction wow2\Patches wow1\Patches junction wow2\Screenshots wow1\Screenshots mkdir wow2\Interface mkdir wow2\Interface\AddOns junction wow2\Interface\AddOns\MultiboxMaster wow1\Interface\AddOns\MultiboxMaster junction wow2\Interface\AddOns\Omen wow1\Interface\AddOns\Omen junction wow2\Interface\AddOns\Autobar wow1\Interface\AddOns\Autobar mkdir wow2\WTF junction wow2\WTF\Account wow1\WTF\Account
In the case of this code, the source directory is "wow1" and it will create a new "wow2". The script needs to be run in the parent directory of wow1, and I always delete the entire existing wow2 if it's present before I run (which isn't strictly necessary, but I'm just kinda OCD that way).
It will hardlink all the files in the wow1 directory, then "junction" the directories that I find useful. You can modify those directories as you see fit.
Notice also that I junction in a few "Interface" directories (wow mods). In my particular setup, wow1 is always the main and wow2 is all the drones. I don't want to run all mods on my drones for performance reasons, which is why I didn't just junction the "Interface" directory itself. I left the mods in place just to show how to do it, but you'll probably want to delete those three lines and add similar ones to your tastes.
Lastly, I do junction in the "WTF/account" directory so that I get per-account WTF .lua saved variables, which some mods will use. The reason I didn't just junction the WTF dir is so that I can have graphics settings and whatnot different (much lower) on the drones that I do on the main.
Anyway, hope it helps somebody. Chorizotarian's script is probably better, but I thought I'd throw this up in case somebody doesn't have/want powerscript like me.
Connect With Us