Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Create a symbolic link with the mklink tool.

e.g.

mklink /d \OldFolder F:\NewFolder
share|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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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