漫长的处理 [英] long processing

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

问题描述

大家好


我正在开发一个小型Windows服务应用程序,该应用程序将特定文件夹中的文件运行并通过使用监视文件类将文件添加到队列中队列。

这部分已经完成。

然后在Windows服务中我应该将这些文件移动到另一个位置(文件夹,DVD,......)。


如何完成这项任务?


我现在正在使用


Hi all

I am developing a small windows Service application which mointer a files in a specific folder and add their names to a queue by using a watch file class to add files to the queue.
This part is done.
Then in a windows Service I should move these files to another location (folder,DVD,...).

How can I do this task ?

I am using now


展开 | 选择 | Wrap | 行号

推荐答案

请在[co]中附上您发布的代码de]标签(参见如何提出问题)。


这使我们的专家更容易阅读和理解它。如果不这样做会给版主带来额外的工作,从而浪费资源,否则可以回答会员的问题。


请将来使用[code]标签。


MODERATOR
Please enclose your posted code in [code] tags (See How to Ask a Question).

This makes it easier for our Experts to read and understand it. Failing to do so creates extra work for the moderators, thus wasting resources, otherwise available to answer the members'' questions.

Please use [code] tags in future.

MODERATOR


您是否尝试过使用 File.Move方法移动文件?
Have you tried using the File.Move Method to move the files?



请将您发布的代码附在[代码]标签中(请参阅如何询问问题)。


这使我们的专家更容易阅读和理解它。如果不这样做会给版主带来额外的工作,从而浪费资源,否则可以回答会员的问题。


请将来使用[code]标签。


MODERATOR
Please enclose your posted code in [code] tags (See How to Ask a Question).

This makes it easier for our Experts to read and understand it. Failing to do so creates extra work for the moderators, thus wasting resources, otherwise available to answer the members'' questions.

Please use [code] tags in future.

MODERATOR



谢谢,这是我的第一篇帖子


thanks, it was the first post for me


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

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