Sign in to follow this  
Followers 0
xcxooxl

using "" during in a parameter ShellExecute...

3 posts in this topic

i am trying to use Shell Execute command and i need "" in the parameter part...

like

ShellExecute ( "some.exe", "parameter "some name with spaces goes here" )

i must use exact name and it only works with ""

so how can i make it work?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

ShellExecute( "edit", '/R "C:\Documents and Settings\All Users\Application Data\Microsoft\Dr Watson\drwtsn32.log"' )

Edited by Siao

"be smart, drink your wine"

Share this post


Link to post
Share on other sites

small tip:

allways use single quotes for strings (in autoIt)

when you then need to use double quotes, you can simply enter one double quote and it will be interpreted as string..

just what you need..


Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0