Jump to content
Sign in to follow this  
Mecano

Skype command line

Recommended Posts

Mecano

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

Share this post


Link to post
Share on other sites
SmOke_N

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.

Share this post


Link to post
Share on other sites
Mecano

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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.