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?

link|improve this question
feedback

1 Answer

up vote 1 down vote accepted

Create a symbolic link with the mklink tool.

e.g.

mklink /d \OldFolder F:\NewFolder
link|improve this answer
Many thanks, John - perfect and quick answer! – Ellipsis Jan 7 '11 at 0:19
You're most welcome! – John T Jan 7 '11 at 0:30
feedback

Your Answer

 
or
required, but never shown

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