复制过程处理 [英] Copy Process Handling

查看:63
本文介绍了复制过程处理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我的问题是要以另一种方式进行Windows复制过程..
基本上,我想限制复制过程,只允许将已知文件类型复制或移动到我的驱动器中.因此,无论何时以任何一种或任何方式启动复制过程,我都希望限制复制不需要的文件.

我该如何继续解决此问题的解决方案?

我还可以获取有关"TERACOPY"软件如何覆盖Windows复制过程并启动其自己的复制过程的一些建议吗?

如何从文件已复制的位置获取位置?

我知道这个问题并不普遍,因为我打算做的事情与Windows相反,但这是我必须采取的任何措施.....请向我建议一些解决方法.

谢谢大家.

Hi all,
my issue is to go the other way round of windows copy process..
basically i want to restrict copy process, only allowing known file types to be copied or moved into my drive.so whenever a copy process is initiated by any one or by any means i want to restrict copying of unwanted files.

how can i go ahead in working out a solution for this issue??

also can i get some suggestions on to how "TERACOPY" software overrides the windows copy process and starts its own copy process ??

how to get the location from where the file has been copied ??

i understand this issue is not general as what i intend to do is opposite to windows, however this is what i have to do by any means.....please suggest me some resolutions.

Thank You all.

推荐答案

如果您想要的一切都可以,我不愿意.

如果某个软件(例如TERACOPY-我不知道)拦截了Windows复制过程,则它们必须做一些繁琐的api任务.可能会出现带有防病毒软件的问题.

但是,这就是真正的问题,可以在没有任何"Windows"功能的情况下复制文件.程序员可以决定打开源文件并编写一个新文件-看起来像一个副本,闻起来像一个副本,但是未使用任何复制功能!

也许您可以使用FileSystemWatcher-您的程序将获取有关写入,更改,删除的文件的信息...
I´m not shure, if everthing you want is possible.

If a software (e.g. TERACOPY - I dont know it) intercept the windows copy process, they have to do some heavy api stuff. Troubles with antivirus software could appear.

But, thats the real problem, it is possible to copy a file without any "windows" functin. A programmer can decide to open the source file and write a new file - it looks like a copy, it smells like a copy, but no copy function was used!

Maybe you can use a FileSystemWatcher - your program will get information about files written, changed, deleted ...


FileSstemWatcher可以实现,但是仅在复制过程发生时才执行操作.其后动作API.
我想要的是复制过程之前的操作,即从复制过程开始的地方.我需要捕获他的复制过程.
FileSstemWatcher can be implemented, however action will be performed only when copy process has taken place. its a post action API.
what i wanted is action prior to copy process, i.e from where the copy process has started. i need to capture he copy process.


这篇关于复制过程处理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆