Dim myProcess As New Process() myProcess.StartInfo.FileName = "cmd.exe" 'l'application myProcess.StartInfo.Arguments = "/c mame -listxml >xmlout.xml" 'les paramètres passés à l'application 'myProcess.StartInfo.CreateNoWindow = True 'myProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden myProcess.Start() 'lance le process myProcess.WaitForExit() 'attend qu'il soit terminé avant d'aller plus loin myProcess.Close() 'ferme le process
myProcess.StartInfo.FileName = "cmd.exe" myProcess.StartInfo.Arguments = "/c mame -listxml >xmlout.xml"