Monday 4 September 2017

windows explorer - Create a folder shortcut/redirection in Vista


Given a plain old directory of files in Windows Vista, say "C:\OldFolder\", is it possible to move the contents of that directory to a new location, perhaps "F:\NewFolder\" and keep a shortcut-like 'virtual' folder at C:\OldFolder that will always redirect access to the updated location.


Shortcuts work for users accessing through the GUI to some extent, but all application links to the old location won't work anymore even with a shortcut. For example, If MS Word tried to access C:\OldFolder\document.doc I would want Windows to simply rewrite it's request to F:\NewFolder\document.doc...


I guess I'm basically looking for Apache's Mod_Rewrite for Windows Vista... any suggestions?



Answer



Create a symbolic link with the mklink tool.


e.g.


mklink /d \OldFolder F:\NewFolder

No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...