Go Back   Winamp Forums > Developer Center > NSIS Discussion

 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 28th August 2003, 16:35   #1
jtc201
Junior Member
 
Join Date: May 2003
Posts: 4
stop & start Apache Tomcat 4.1

Greetings,

I am quite new to this forum so please be kind.
I have a question about stopping & starting a service whose name has multiple spaces. My problem is with the string "Apache Tomcat 4.1".

I am trying to stop & start this service by writing
ExecWait "net stop Apache Tomcat 4.1"

Unfortunately, the service never stops. Is there anyway to escape the " character so that it will properly execute?

All these have failed too:
ExecWait "net stop 'Apache Tomcat 4.1'"
ExecWait "net stop \"Apache Tomcat 4.1\" "

Any help is deeply appreciated. Thanks

James
jtc201 is offline   Reply With Quote
 
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump