2

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?

1

Odd. Did you try typing out the path?

I personally wouldn't bother with it. It's there for App compatability reasons. Good behaving apps will use the correct shell alias, not the hardcoded BS.

2
  • MKLINK has 3 options: /D symbolic link, /H hard link, /J junction. Maybe it's one of H or J. Do you know how could I check on a reference folder what kind of linking is it? – hyperknot Aug 12 '11 at 12:52
  • Dir /a /p . /a just lists attributes, including link type. – surfasb Aug 12 '11 at 17:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.