SYNOPSIS
ws [
DESCRIPTION
The ws command (for Window Station) displays the name of the current workstation or desktop. This command can be used to generate an object-name argument for chacl command when changing the Access Control Lists on remote window stations using facilities such as telnet.
If no options are specified, ws returns the name of the current windowstation. If you are logged onto the console, this is always
WinSta0
Options
-d -
returns the current desktop name. If you are logged onto the console, and are not using a desktop switcher, this option always returns
Default
EXAMPLES
To give permissions for user to access your window station and desktop, use the following command:
chacl -t w -g user:f $(ws) $(ws)/$(ws -d)
DIAGNOSTICS
Possible exit status values are:
PORTABILITY
Windows NT 4.0. Windows 2000. Windows XP. Windows Server 2003.
AVAILABILITY
MKS Toolkit for Power Users
MKS Toolkit for System Administrators
MKS Toolkit for Developers
MKS Toolkit for Interoperability
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
MKS Toolkit 9.5 Documentation Build 3.