How would I get it to delete the file after it has finished running?
I tried adding this code after the 'Me.gameloaded = Process.Start(file)'
...but it didn't delete it!Code:Me.gameloaded.WaitForExit() If My.Computer.FileSystem.FileExists(file) Then My.Computer.FileSystem.DeleteFile(file) End If






Reply With Quote