OS functions computer >>

cmdsep


Command separator for current operating system.


Syntax


sep = cmdsep()

Output argument


sep

a string: on windows "&&", on linux ";"

Description


cmdsep returns the command separator for current operating system.

This function is used by Nelson to build command lines for unix and dos operating systems.

Example


unix("cd c:/ " + cmdsep() + " nelson")

See also


unix.

History


Version Description
1.11.0 initial version

Author


Allan CORNET

OS functions computer >>