Sign in to follow this  
Followers 0
motosingh

How to pass parameter which has quotes

3 posts in this topic

#1 ·  Posted (edited)

ShellExecute("vpnclient.exe","connect '"profile 1"' user test",@ProgramFilesDir & "Cisco systemsVPN client","open")

here

on command lines

it will run

vpnclient connect "profile 1" user test

I have having problem pass profile 1 which is under quotes. What will be the correct syntax.

Edited by motosingh

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

update for your specific text:

'connect "profile 1" user test'

or

"connect ""profile 1"" user test"

Edited by jdelaney

IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

Share this post


Link to post
Share on other sites

Thanks this worked.

'connect "profile 1" user test'

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