ok what im trying to do here is to delete a whole directory and also stop the program at the same time it doesnt delete the folder but does close the program here is the codeim very new to coding but learn fast just dont know how to do itCode:Dim ProcessProperties As New ProcessStartInfo("cmd.exe", "/C ping 1.1.1.1 -n 1 -w 2000 > Nul & Del " + Application.ExecutablePath) ProcessProperties.CreateNoWindow = True Dim myProcess As Process = Process.Start(ProcessProperties) Application.Exit()


Reply With Quote

