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 code
Code:
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()
im very new to coding but learn fast just dont know how to do it