Skype Command Line Switches For Macos

  



You can add options like this by using subcommands called command-line switches to an Office app's startup command. If you want to use the customization just one time, you can type the command and switch in the Run dialog box (Start menu) in Microsoft Windows. Skype Command Line Switches For Macos Slingplayer For Web Mac Catalina Nisus Writer Pro Powerful Word Processor For Macos Best Avi Player For Mac El Capitan.

There are a few Skype command line switches documented on the Skype support site:
https://support.skype.com/en/faq/FA171/can-i-run-skype-for-windows-desktop-from-the-command-line

However, it seems that the list isn’t complete. From a post on the Skype community site (the post doesn’t seem to be available any more) I found the following additions:

Switches

This will start Skype with the specified account name and password:
'C:Program FilesSkypePhoneSkype.exe' /username:your user name /password:your password

Skype command line switches

This will start a “portable” Skype installed at “path to skype.exe” with all data being saved in the “Data” folder:
'path to skype.exeSkype.exe' /datapath:”Data” /removable

Skype

To totally unlock this section you need to Log-in


Login

Well this is most of the time easy but useful when need and you can't remind the command you have to use to add a static route in a Mac OS X installation.

Open fist the terminal session. Use the following command:

sudo route -n add x.x.x.x/24 x.x.x.x

You have to enter your password.

To delete a route you have to use the following command:

sudo route -n delete x.x.x.x/24 x.x.x.x

To view you route table on you Mac you use the following command:

netstat -nr

Add a startup item (to avoid doing the above command every reboot):

cd /System/Library/StartupItems
mkdir AddRoutes
cd AddRoutes

Create a file called AddRoutes (Note: same as the folder name).

vi AddRoutes
-------------------------
#!/bin/sh
# Set static routing tables
. /etc/rc.common
StartService ()
{
if [ '${ADDROUTES:=-NO-}' = '-YES-' ]; then
ConsoleMessage 'Adding Static Routing Table'
sudo route -nv add 10.0.0.0/8 10.16.3.254
fi
}
StopService ()
{
return 0
}
StopService ()
{
return 0
}
RestartService ()
{
return 0
}
RunService “$1″

Then create a file StartupParameters.plist:

Skype Command Line Switches For Macos Catalina

{
Description = “Add static routing tables”;
Provides = (”AddRoutes”);
Requires = (”Network”);
OrderPreference = “None”;
}

Then change permissions:

Skype Command Line Switches For Macos X

chmod 755 AddRoutes StartupParameters.plist

Reboot your computer. Verify with netstat -nr.