ghotiphry Posted July 10, 2014 Posted July 10, 2014 I'm using a simple batch file to launch a script with arguments. That part works just fine. But there's an annoying cmd window left open with the contents of the executed command which doesn't close until it detects that the autoit script is exited. I'm looking for a way to close that window. I know that inserting "start" before the command to launch in the batch will take care of this. I guess I'm just on a quest to do this from within the script... The problem as I see it is I can't just assume that it's the only cmd window open, and I just don't want to start killing processes without knowing that I am killing the correct one. I'm not seeing anything that will give me the PID of the specific cmd window which launched the script. Does possibly such an animal exist in some parameter of the arguments?
Developers Jos Posted July 10, 2014 Developers Posted July 10, 2014 Why launch an autoit3 script with a batch file? ps: You didn't like your old member name any more? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
ghotiphry Posted July 10, 2014 Author Posted July 10, 2014 (edited) I'm using the batch so I can pass different arguments to autoit as needed to allow me to modify script behavior based on those arguments, and typing them into a command window every time is annoying. I thought I had already registered. I couldn't find anything, though. Whoops... Edited July 10, 2014 by ghotiphry
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now