Check number of windows prompt open

Dear all,
Is there a way to check in matlab if there is any open windows propmt on the current PC?
Best regards

3 Comments

Windows prompt? Do you mean like CMD.EXE or PowerShell executing? And waiting for input?
Dear Walter,
I mean number of window of cmd.exe. I do not need to wait for the input, but I need to decide if I can execute another command.
Thanks
system('tasklist') with appropriate command line options.

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!