Creating and Executing Batch file from Windows Form

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
new streamwriter
write the batch file
close the writer

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