niche99 Posted April 20, 2004 Share Posted April 20, 2004 Hi, I would like to start and stop windows XP services using autoit 3. I want to use the net command e.g. net start etc. However quotation marks are needed around service names. How do I get these onto the command line e.g. RunWait (@comspec & " /c " & "net start "big service name"") does not work. Is there an escape character a la UNIX shells? Thanks Link to comment Share on other sites More sharing options...
Developers Jos Posted April 20, 2004 Developers Share Posted April 20, 2004 this should work: RunWait (@comspec & ' /c net start "big service name"') 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. Link to comment Share on other sites More sharing options...
niche99 Posted April 20, 2004 Author Share Posted April 20, 2004 Hi, What a fast reply. Thanks Much niche99 Link to comment Share on other sites More sharing options...
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