Hello Monks!
Basic question: How do I close a command prompt under windows 10? The basic exit; does not work under windows 10. I've checked my scripts under windows xp, vista, 7, & 8 and it works just fine. Am I missing something for it to work under windows 10? The sound plays and the script does end...however it just goes to the command line and does not close the prompt. Thanks in advance!
sub quit {
Title "Exit | You Are Now Leaving";
sleep 2;
my $byeresult = Win32::Sound::Play("SystemExit");
exit;
}
}