在Win 7中搜索文件夹并标记文件 [英] Search a folder and tag a file in Win 7
本文介绍了在Win 7中搜索文件夹并标记文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请帮助创建一个JavaScript,该JavaScript将进入文件夹列表并将元数据标签放在文件级别.
例如,脚本将查找共享驱动器并查找名为机密"的文件夹.然后,它在机密"文件夹中检查是否有附加到文件的标签.
如果文件当前没有标签,请附加一个名为机密"的标签.如果文件已具有标签,则忽略并不执行任何操作.
非常紧急.
Please help in create a javascript that would go into a list of folders and place metadata tags on the file level.
For instance, the script would look into a shared drive and look for a folder titled "Confidential". It then checks in the "Confidential" folder to see if there is a tag attached to the files.
If a tag doesn’t currently exist for a file, then attach a tag called "confidential". If a file already has a tag, then ignore and do nothing.
Needed very urgently.
推荐答案
您好,首先,您必须创建一个OpenFileDialog(请阅读: ^ ]或此信息: ^ ] ).
如有任何疑问,请回答以继续为您提供帮助.
最好的问候.
ÁngelManuel
Hello, first, you must create an OpenFileDialog (read this: An Open File Dialog in JavaScript[^] or this post: http://stackoverflow.com/questions/3467849/find-localappdata-path-and-add-new-folder-with-javascript[^]).
If you have any question, answer to continue helping you.
Best regards.
Ángel Manuel
这篇关于在Win 7中搜索文件夹并标记文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文