keilamym Posted September 21, 2005 Share Posted September 21, 2005 can anyone PLEASE tell me how to run a script with needed extra quotes example _RunDOS("psservice stop "windows firewall/internet connection sharing (ics)"") or Run ("psservice stop "windows firewall/internet connection sharing (ics)"") The extra quotes the are required for the spaces in the service name is giving me an issue. Thanks Lavelle Link to comment Share on other sites More sharing options...
Valuater Posted September 21, 2005 Share Posted September 21, 2005 can you show a pic of the screen you want to see... i think there is another way to do this 8) Link to comment Share on other sites More sharing options...
BigDod Posted September 21, 2005 Share Posted September 21, 2005 can anyone PLEASE tell me how to run a script with needed extra quotesexample_RunDOS("psservice stop "windows firewall/internet connection sharing (ics)"")orRun ("psservice stop "windows firewall/internet connection sharing (ics)"")The extra quotes the are required for the spaces in the service name is giving me an issue.ThanksLavelleTry using single quotes for the spaces Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
keilamym Posted September 21, 2005 Author Share Posted September 21, 2005 can you show a pic of the screen you want to see...i think there is another way to do this8)what i want to do is place a number of workstations into a text file, and run a script that reads the file and stops the Windows XP SP2 firewall on it. Since the name of the service has a space in it, i'd have to put quotes in the command line but it doesnt' work when its in an autoit script.i wanted to get the command right, then i'd put the file read around it.thanks Link to comment Share on other sites More sharing options...
Valuater Posted September 21, 2005 Share Posted September 21, 2005 i meant to look at this idea Run(@ComSpec & " /C START " & "wscui.cpl", "", @SW_MINIMIZE) 8) Link to comment Share on other sites More sharing options...
keilamym Posted September 21, 2005 Author Share Posted September 21, 2005 i tried single quotes and the comspec and couldn't get either to work. Link to comment Share on other sites More sharing options...
Valuater Posted September 21, 2005 Share Posted September 21, 2005 i meant to look at this ideaRun(@ComSpec & " /C START " & "wscui.cpl", "", @SW_MINIMIZE)8)this works.... I have checked it again on Win Xp... no need for beta either8) Link to comment Share on other sites More sharing options...
Uten Posted September 21, 2005 Share Posted September 21, 2005 can anyone PLEASE tell me how to run a script with needed extra quotesThis should do it:_RunDOS("psservice stop " & chr(34) & "windows firewall/internet connection sharing (ics)" & chr(34))RegardsUten Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling 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