jasoncollege24
64 discussion posts
I'm writing a batch file to help automate display configuration changes via an external app, and I want it to display a message on success, or fail, but there are no errorlevels, or any standard error messages (good or bad) in the command line tool.
Adding errorlevels would make checking for success/failure easier, unless you have another method I missed?
Feb 22, 2019 (modified Feb 23, 2019)
•
#1
I'm not sure if the command line tool works in a way that would allow this, but I've added it to our feature request list and we'll be sure to let you know if/when we're able to implement it.
Thanks!
jasoncollege24
64 discussion posts
errorlevel is a variable already used in DOS/CMD, with a default value of 0.
the tool would have to check the results of the requested operation, and set that variable, based on result. Setting it shouldn't be too hard, but I think checking the result might be the hard part.
Hope this helps, and makes some sense.