dan0964 Posted November 4, 2014 Share Posted November 4, 2014 Hi, Would someone be kind enough to tell me where im going wrong with this? Local Const $sFilePath = @DesktopDir & '\Google Chrome.lnk' FileCreateShortcut(@ProgramFilesDir & '\Google\Chrome\Application\chrome.exe" --ssl-version-min=tls1', $sFilePath, @ProgramFilesDir, '', 'Chrome', @ProgramFilesDir & '\Google\Chrome\Application\chrome.exe', '', '', @SW_SHOWMAXIMIZED) The quote in chrome.exe" --ssl-version-min=tls1 is throwing it off Thanks Dan Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted November 4, 2014 Moderators Share Posted November 4, 2014 You only have a single double quote in your path. What happens if you do something like this instead? FileCreateShortcut('"' & @ProgramFilesDir & '\Google\Chrome\Application\chrome.exe" --ssl-version-min=tls1', $sFilePath, @ProgramFilesDir, '', 'Chrome', @ProgramFilesDir & '\Google\Chrome\Application\chrome.exe', '', '', @SW_SHOWMAXIMIZED) "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Solution dan0964 Posted November 4, 2014 Author Solution Share Posted November 4, 2014 (edited) Ive just fixed it, I was being silly... Thanks for the reply though FileCreateShortcut(@ProgramFilesDir & '\Google\Chrome\Application\chrome.exe', $sFilePath, @ProgramFilesDir, ' --ssl-version-min=tls1', 'Chrome', @ProgramFilesDir & '\Google\Chrome\Application\chrome.exe', '', '', @SW_SHOWMAXIMIZED) Edited November 4, 2014 by dan0964 Link to comment Share on other sites More sharing options...
MikahS Posted November 4, 2014 Share Posted November 4, 2014 Welcome to the AutoIt forum by the way! Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ 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