本文介绍了唯一的文件夹标识的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天早些时候,有人慷慨地回答了有关与计算机上的文件关联的唯一标识符检索我的问题。 唯一文件标识符

Earlier today someone generously answered my question regarding the retrieval of a unique identifier associated with files on the computer. Unique File Identifier

解决方案伟大的工作,但是,它不处理的文件夹的唯一标识符。我如何可以检索UID为指定的目录,UID的,将留通过重命名和移动目录。

The solution worked great, however, it does not address unique identifiers for folders. How can I retrieve a UID for specified directories, UID's that will stay with the directory through renames and moves.

更新:FSCTL_GET_OBJECT_ID好像是我以后的功能,但会有人能够提供有关使用情况的简要上下文?谢谢!

Update: FSCTL_GET_OBJECT_ID seems like it is the function I am after, but would someone be able to provide brief context on the usage? Thanks!

推荐答案

我把这个变成一个答案,因为它是太多文字注释。

I put this into an answer, because it was too much text for a comment.

我回答你有关的唯一文件标识符问题的。我没有挖得太深到这个话题。这是刚刚好研究技能的。

I answered your question regarding Unique File Identifiers. I didn't dig in too deep into this topic. That's been just good researching skills.

我研究了一下,收集了一些文档的链接,可以帮助你:

I researched a bit and collected some documentation links that may help you:

我一直在寻找一个相当的时间,但我找不到任何标识的每个文件夹,而不管其路径。

I've been searching for quite a time, but I couldn't find anything which identifies each folder, regardless of its path.

唯一的文件夹,它总是可以被认定 - 据我所知,还没有 - 这些是称为文件夹。这是因为一个WinOS使用的 C:/ WINNT / Windows的网络/ 的,另一种用途的 D:/窗/网/ 的路径(别看了这些,我只是做起来了我的头顶部)。

The only folders, which always can be identified - as far as I know, yet - are these known folders. That's because one WinOS uses the C:/winnt/Windows Net/ and another one uses D:/Windows/Net/ path (don't look up those, I just made them up off the top of my head).

这篇关于唯一的文件夹标识的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!