共享文件夹中已打开文件的列表 [英] List of opened files in shared folder
本文介绍了共享文件夹中已打开文件的列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想列出共享文件夹中的所有打开文件,如果你转到计算机管理>共享文件夹>打开文件,你可以看到我正在谈论的列表。
我有我一直试图使用WMI查询,但我无法弄清楚如何让它列出打开文件的路径。
解决方案
打开的文件无法重命名... :)
我不需要重命名file.:confused:我只想得到它的名字(例如 - C:\Films\123.avi)
您可以使用NetShareEnum Function [ ^ ]枚举本地主机和远程共享。
祝福,
-David Delaune
I want to list all of the open files in a shared folder, if you go to Computer Management > Shared Folders > Open Files, you can see the list I am talking about.
I have been trying to use WMI queries but I cannot figure out how to have it list the path of the open file.
解决方案
An opened file can not be renamed... :)
I don't need to rename file.:confused: I just want to get its name (for example - C:\Films\123.avi)
Hi,
You can use the NetShareEnum Function[^] to enumerate localhost and remote shares.
Best Wishes,
-David Delaune
这篇关于共享文件夹中已打开文件的列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文