Jump to content

Recommended Posts

Posted (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 by Mecano
  • Moderators
Posted

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.

Posted

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...