문제

What happens if you save a resource or something similar in the alternate data stream for a file, and that file is deleted:

If you try to access the stream again it will be empty in any of these cases, but since the original files in the alternate stream were not formally deleted do they just take up space forever or are they just treated as if they had been deleted / unlinked?

도움이 되었습니까?

해결책

The original question asked about what happens to alternate data streams when the file is moved.

The alternate data streams are associated with the file. If you move the file, the alternate data streams move with the file.

Of course, if you move the file to a drive that does not support alternate data streams, then they are simply lost.


But the question now is somewhat different, and asks about what happens when the file is deleted.

Again, the alternate data streams are associated with the file. When the file is deleted, so too are all alternate data streams associated with the file.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top