如何在 Windows 中模拟驱动器
我最近查看了 Google Data API。看起来不错。
我想做的是创建一个“G Drive”类型的应用程序。这基本上将作为资源管理器中的一个驱动器出现,并具有自己的图标。从那里,您将能够在 Google 文档之间进行拖放操作,并创建文件夹。是的,我听说过 Gladinet 和 Memeo,但两者都不是很好的解决方案。我决定从头开始构建一个,并在其进入 Alpha 阶段后将其作为开源版本发布。
无论如何,要开始我需要一些建议。
显然我需要一种方法来模拟浏览器中的驱动器。是否可以创建某种虚拟驱动器,然后从 XML 文件(而不是 HDD 上的文件夹)获取其内容列表?
因此,如果 XML 文件(例如)包含元素集合,是否可以让这些元素(经过一些工作)显示在驱动器的资源管理器窗口中。几乎就像将资源管理器视图的数据源从文件系统更改为文件内容一样?
无论是否黑客,优雅还是混乱,有没有人找到一些方法来做到这一点?
I recently had a look at the Google Data API. Its looking good.
What I want to do is create a "G Drive" Type application. This will basically come up as a drive in explorer with its own icon. From there you will be able to drag and drop operations to and from Google Docs, and create folders. Yes I've heard of Gladinet and Memeo, but both are not great solutions. I've decided to build one from the ground up, and release it as open source, once its in Alpha.
Anyways to get started I need some advise.
Clearly I need a way to mimic a drive in explorer. Is it possible to create some kind of virtual drive then have its contents list from an XML file, rather than a folder on the HDD?
So if the XML file (for example) contained a collection of elements, would it be possible to have these elements (with some work) show up in an explorer window for the drive. Almost like changing the data source for the explorer view from file system to contents of a file?
Hack or not, elegant or messy, has anyone found some way to go about doing this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
不要创建驱动器,而是查看创建命名空间,这就是< a href="http://www.viksoe.dk/code/gmail.htm" rel="nofollow">Google 云端硬盘可以使用
Instead of creating a drive look into creating a namespace which is how the Google Drive works
Dokan 项目可能就是您正在寻找的
The Dokan project may be what you're looking for
作为参考:可以使用我们的回调文件系统产品创建虚拟驱动器,该产品是受支持的、记录并维护解决方案。
Just as a reference: virtual drives can be created using our Callback File System product, which is a supported, documented and maintained solution.