Goor Morning,

I have been trying all morning to find out if there was a simple way for an executable to upgrade itself.

For example, I have an application ( exe ) running that verifies if there is a newer version of itself available on the intranet. If there is such a file, it would stop itself running, copy the file and restart itself.

It should probably start the copy before stopping but then would it not generate an error during the copy operation ?

I thought of writing a COPY program that would delay the copy until the exe has stopped running or something to that effect, but before trying further, I just wanted to know if anybody has inputs for me on this. I don't want to reinvent the wheel.

Also, how to have the application restart itself after the copy operation ?

Thanks for your help.

NP