I deleted "AppData\Local\Application Data\" from my profile and I want to create the link again. My problem is that if I create an mklink to %localappdata%, it behaves differently than the original:
mklink /D "Application Data" %localappdata%
It creates a directory with a never ending infinite loop of "Application Data" \ "Application Data" \ ... folders.
But the original is not like this in Windows, it is a different link. How is it done and how can I recreate the original link structure?