List of command line parameters in the new Skype
Parameter | Description |
---|---|
--datapath="path"
|
Changes the folder where the user data is stored (by default, Skype stores them in %APPDATA%\Microsoft\Skype for Desktop ). If path does not exist, Skype creates all the necessary folders.
|
--lang=ISO-639
|
Force Skype to use the specified locale. For example, use --lang=en-GB for British English, even if the OS has a different language or datetime format.
|
--secondary
|
Launches several instances of Skype at the same time. To run multiple accounts, you must specify the parameter --datapath
|
--shutdown
|
Closes Skype processes, started without the parameter --secondary
|
--_="URI scheme"
|
Launches Skype using parameters of the URI scheme skype: (for example, if you pass --_="skype:echo123?call&video=true" , Skype will make a video call to the echo123 service).
|
In addition to these, there are several other parameters, but I am not sure yet what they are intended for. Some of these parameters are given below:
--application-name
--auto-start
--migration
Since the new Skype is developed on the basis of the Electron framework, users can use more than 1200 parameters that are available for Chromium. A complete list of these parameters can be found here: https://peter.sh/experiments/chromium-command-line-switches/
How to run more than one account at a time?
For example, create a new shortcut for each account and specify the following path:C:\Program Files (x86)\Microsoft\Skype for Desktop\Skype.exe --secondary --datapath="F:\SkypeNew\Login_1"
For a more convenient way, read How to run multiple Skype programs simultaneously or How to create a portable Skype for Windows.
The article clearly does not contain all the information about the parameters in the new Skype, so I will periodically update the material. Also, I will be grateful for any comments and additions.
21 comments
+4
), #+1207
), # ↑--datapath
parameter, it will launch the first account.+9
), #Hopeful in advance,
Cheers!
+1207
), # ↑+9
), # ↑sudo /Applications/Skype.app/Contents/MacOS/Skype /secondary
(Did not work for me as it suggested that my login was not in the Sudoers file.)nohup sudo /Applications/Skype.app/Contents/MacOS/Skype /secondary
(Did not work despite Admin Password request and entry)For reasons I can only believe is because I'm not running under my main Admin account, is perhaps somehow circumventing it from executing. It does prompt me for my Admin Password (to make changes) but once it's in, nothing changes. I will attempt it in the Admin login, but unfortunately it has not worked that way before, either.
Before the newest Skype release, the command line that I entered and set as a start up file as well, worked like a charm, and both of my Skype accounts logged in and both instances were opened and running.
The even more baffling part to this is, the OLD command line for the old release, works on my Macbook Pro, once I set up the old command line (as a start up file as well). So, I'm really baffled.
Sorry for the lengthy reply!
Cheers!
[Updated ]
UPDATE: For Mac OSx
Messaged Skype Microsoft Support and this is what user TechFreak wrote and suggested:
open -na /Applications/Skype.app --args --secondary --datapath="/Users/$(whoami)/Library/Application Support/Microsoft/Skype for Desktop/Profile1"
To create an executeable text file (code file) and so that it can be made into a Startup file, use this at line 1:
#!/bin/bash
and use the Command line above as line 3. The Bin file should be ahead of the command line. This can be typed in TextEdit or Adobe Code and saved to run as a UNIX file, to execute.
It works like a dream. If you don't wish to create an executeable, those lines can bIt can be either used typed out in TERMINAL or Use it in Users as a Start up Item to run.
Hopefully this helps Unix or Mac OSx users too!
Again, thanks so much for your help!
Cheers!
+1207
), # ↑+11
), # ↑I use this script to create a second copy of Skype:
#!/bin/bash
echo "Removing old WorkSkype..."
rm -rf /Applications/WorkSkype.app
echo "Copying Skype.app..."
cp -R /Applications/Skype.app /Applications/WorkSkype.app
echo "Configuring init script..."
mv /Applications/WorkSkype.app/Contents/MacOS/Skype /Applications/WorkSkype.app/Contents/MacOS/WorkSkype
cp /Users/$(whoami)/shortcuts/SkypeLauncher /Applications/WorkSkype.app/Contents/MacOS/Skype
echo "done."
SkypeLauncher contains the
#!/bin/bash
and run commands (withoutopen -na
) since it's already in its own app bundle.I've tried playing with the arguments a bit (removing
--args
in particular, since I'm not usingopen
anymore), but it doesn't seem to matter; I will get logged out whenever I open the app, even though it clearly knows that I was logged in before (my account comes up briefly before it requires login again).Maybe it's a security feature. Going to play with it some more.
+1207
), # ↑--datapath
points to two different folders.+11
), # ↑In `SkypeLauncher` I have:
#!/bin/bash
/Applications/WorkSkype.app/Contents/MacOS/WorkSkype --secondary --datapath="/Users/$(whoami)/Library/Application Support/Microsoft/Skype for Desktop/Profile1"
(I've tried with a few values, but none of them persist the login.)
+1207
), # ↑1) To launch first profile:
/Applications/WorkSkype.app/Contents/MacOS/WorkSkype --secondary --datapath="/Users/$(whoami)/Library/Application Support/Microsoft/Skype for Desktop/Profile1"
2) To launch second profile:
/Applications/WorkSkype.app/Contents/MacOS/WorkSkype --secondary --datapath="/Users/$(whoami)/Library/Application Support/Microsoft/Skype for Desktop/Profile2"
+11
), # ↑0
), #0
), #How to find out what are supported command line options for Skype?
+1207
), # ↑--disable-gpu
0
), #0
), #0
), #+3
), #+1207
), # ↑0
), #old method [terminal command]
Just go to skype directory path in command prompt, mine is "C:\Program Files (x86)\Microsoft\Skype for Desktop"
=>cd C:\Program Files (x86)\Microsoft\Skype for Desktop
=> then run command called Skype.php --secondary
=> old method was - Skype.php /secondary
0
), #