lundi 16 mars 2015

Programmatically detect a redirected folder in Windows 7 and above

As an example of a redirected folder, I map the OneDrive folder to a non-OS, larger disk drive as follows using the Move button under location:


Redirected OneDrive Folder


The OneDrive settings still point to the old location but when it is opened in Windows Explorer, it takes you to the newly assigned location e.g. F:\OneDrive.


Is there a way to programmatically determine whether an arbitrary folder has been redirected and if yes, to where?


Aucun commentaire:

Enregistrer un commentaire