With the command  net stop servicename  you can stop a windows service. 
If the servicename contains spaces, you can use 
net stop "service name".

I want to do this with powerpro. I use the following command:
Do("*Dos *Hide net stop Servicename")
This command works fine. But if the servicename contains spaces, it 
doesn't work. I tried different methods, for example the following:
1. Do("*Dos *Hide net stop "service name" ")   Or 
2. Local service ?~"~ ++ "service name" ++ ?~"~
   Do("*Dos *Hide net stop &(service)")

But it doesn't work. I allways get a bad-expression-error-message.

Any ideas or alternatives how I could do this ?






Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/power-pro/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to