Creating and Executing Batch file from Windows Form

G

Guest

Hii

I want to create a batch file that checks the latest version of .EXE from
the Server and in case of new version it replaces the .EXE on users machine.

Can you please guide me how to create and execute batch file for above task?

Thanks in advance

Regards,
Pauravi
 
G

Guest

new streamwriter
write the batch file
close the writer

system.diag.process.start() the batch file you created and saved.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top