well, I created an C#.NET application that close other applications that are consider to unwanted, so, my application list all the running processes and search for unwanted apps, my application uses Timers and Threads.

So the problem ocurs when execute an batch file like this:

pause My_app.exe

Exit

And next I reboot and magic, my application start, but doesn't do anything, is like standby.

Thanks in advance.

P.D: Sorry for my english.

What exactly is the problem? If you're writing an application to close other unwanted applications, why would you be executing a batch file?

Please clarify what you are asking here..

Other users executes the batch file.
And my program doesn't work.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.