Hi all
I would like to create a service dependance with the command:
oShell.Run "sc config " & ServiceOVO & " depend= " & chr(34) &
ServiceApplicatif & chr(34), 1,True
My problem is that ServiceApplicatif is badly interpreted when it has
spaces in the name.
ServiceApplicatif is entered with the following line:
ServiceApplicatif = InputBox("Enter the name of service Applicatif
(Service name) " , "Service")
How can I make sure that spaces in the inputbox are converted as spaces
in the variable ?
or how can I modify the string to insert chr(32) ?
to have a correct service installation
Thanks and have a good day
Bruno