Mecano Posted October 14, 2007 Share Posted October 14, 2007 (edited) Hallo forum members I have an question about extra command line options for running Skype portable in an batch file it look like this: skype.exe /datapath:"Data" /removable first I used search on this forum but 2 hours of trying differed codes autoIt Help Command line came up with this RunWait(@COMSPEC & " /c skype.exe /datapath:"Data" /removable") but no result just error messages I know it has something to do with single/double quotes If you know the answer please let me know this little baby give me an head deck CODE; ---------------------------------------------------------------------------- ; <Portable Skype> ; ---------------------------------------------------------------------------- $vr=FileGetVersion("Skype.exe") $e="Portable Skype v"&$vr&"" MsgBox(64,$e,"Starting "&$e&" ",3) Run(@ScriptDir & "\skype.exe /datapath:"Data" /removable") Exit---------------------------------------------------------------------------- recards Mecano Edited October 14, 2007 by Mecano Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 14, 2007 Moderators Share Posted October 14, 2007 Try this:$vData = "Data" Run('"' & @ScriptDir & '\skype.exe" /datapath:"' & $vData & '" /removable') Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Mecano Posted October 14, 2007 Author Share Posted October 14, 2007 Try this:$vData = "Data" Run('"' & @ScriptDir & '\skype.exe" /datapath:"' & $vData & '" /removable') Thanks this works great Skype saves all settings in the folder Data so it's realy portable now THX again Regards Mecano 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