While going through the version 23 eval process, I happened to notice something odd...
With OneDrive, you can enable "Files On Demand" which only downloads files to your local sync folder as needed. It creates symlinks/junctions as needed for them all. TCC doesn't have any problems with that.
However, since the fall creators update (Win10 version 1709) Microsoft added a new file/directory attribute called "pinned" (P) that will mark a file or folder as *always* available offline, which (I think) downloads it always even if you have everything else marked as on demand.
From an explorer window, you can right click and select "always keep on this device" which will set that attribute, and you can see the "P" showing up in the attribute list if you display that column.
So I decided to head to TCC and see what the attribute looks like from the command line... I had marked my "Favorites" folder (which I have syncing with OneDrive) with that attribute, so I run:
Hmm... nothing there that looks like a "P", and furthermore, when I look back in the explorer window, the "P" disappeared and it's no longer set to "always keep on this device". By merely trying to look at the attribute list, it removed that new pinned attribute.
If I use the normal "attrib.exe" in the system32 directory I can set/remove that attribute no problem, and I guess if needed I can alias "attrib" to point to the standard Windows exe, but I thought I should definitely point that out since it's very much unexpected behavior.
Note that doing a "dir /t favorite*" doesn't show the attribute either, but at least it doesn't remove it, so that's good.
With OneDrive, you can enable "Files On Demand" which only downloads files to your local sync folder as needed. It creates symlinks/junctions as needed for them all. TCC doesn't have any problems with that.
However, since the fall creators update (Win10 version 1709) Microsoft added a new file/directory attribute called "pinned" (P) that will mark a file or folder as *always* available offline, which (I think) downloads it always even if you have everything else marked as on demand.
From an explorer window, you can right click and select "always keep on this device" which will set that attribute, and you can see the "P" showing up in the attribute list if you display that column.
So I decided to head to TCC and see what the attribute looks like from the command line... I had marked my "Favorites" folder (which I have syncing with OneDrive) with that attribute, so I run:
attrib /d Favorites
Hmm... nothing there that looks like a "P", and furthermore, when I look back in the explorer window, the "P" disappeared and it's no longer set to "always keep on this device". By merely trying to look at the attribute list, it removed that new pinned attribute.
If I use the normal "attrib.exe" in the system32 directory I can set/remove that attribute no problem, and I guess if needed I can alias "attrib" to point to the standard Windows exe, but I thought I should definitely point that out since it's very much unexpected behavior.
Note that doing a "dir /t favorite*" doesn't show the attribute either, but at least it doesn't remove it, so that's good.