Click here to Skip to main content
15,884,640 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello All,


I want example for windows service in which i can move my source file to destination file.






Thanks and regard's
Jagruti patil
Posted
Comments
Pheonyx 28-Mar-14 7:04am    
This is an horrific question I have to say.
Firstly, there are hundreds if not thousands of examples of a Windows Service available via your friendly neighbourhood search engine. (Try google to start with).
Secondly, what do you mean by "move my source file to destination file" ? How do you expect your windows service to know this information?

I suggest you use "Improve Question" to give more information, a better structure and samples of what you have tried so we know you aren't just expecting complete solution handed to you on a plate...

1 solution

Probably, you're talking about FileWatcher[^].

Here is an interesting article: How to implement a simple filewatcher Windows service in C#[^]

[EDIT]
And MSDN article: File System Watcher Activity Sample[^]
[/EDIT]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900