Programatically detect if a process is running in Batch or Interactive mode in the "C" language.
Thad T
26
Reputation points
I'm seeking a way to detect whether a process is currently running in Batch or in interactive mode via "C" code. I would like the function to return a value that represents the current mode - 1 for Batch mode and 0 for Interactive mode. Please let me know if you can help me with this.
Thank you! If so, GREAT!!.
Thad Thorpe
RSVP
Oct 9th, 2023
Windows development Windows API - Win32
2,782 questions
Windows for business Windows Client for IT Pros User experience Other
Sign in to answer