motosingh Posted June 11, 2012 Share Posted June 11, 2012 (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 June 11, 2012 by motosingh Link to comment Share on other sites More sharing options...
jdelaney Posted June 11, 2012 Share Posted June 11, 2012 (edited) update for your specific text: 'connect "profile 1" user test' or "connect ""profile 1"" user test" Edited June 11, 2012 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. Link to comment Share on other sites More sharing options...
motosingh Posted June 11, 2012 Author Share Posted June 11, 2012 Thanks this worked. 'connect "profile 1" user test' 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