Dan S
Dan S

Reputation: 73

How to automate program startup?

How can I go about launching an application to process a .txt file whenever the file is dropped into a specified folder in a windows environment?

Upvotes: 0

Views: 92

Answers (2)

Robert Harvey
Robert Harvey

Reputation: 180787

You didn't mention which programming language you are using, but in C# or VB.NET you can set up a FileSystemWatcher object.

Failing that, you can write a shell extension.

Upvotes: 1

Panama Jack
Panama Jack

Reputation: 24448

If you have no current language, Try http://www.autoitscript.com/site/ works well and not really that hard to do what you want.

Upvotes: 1

Related Questions