SYNOPSIS
desktop
[
DESCRIPTION
desktop implements a simple command line version of
a virtual desktop switcher.
Most available virtual desktop systems have a graphical component to
switch the desktop --this allows you to switch using the command line.
Use the
desktop name
Options
-c -
creates a new desktop, with a given name. Newly created desktops have the explorer started on them automatically; this causes the new desktop to look like the console desktop when you initially log in. The start menu items then run, starting, for example, your default shell console window.
Note that desktop cannot delete a desktop: a desktop is deleted automatically by the system when all processes that have the desktop open have terminated. Since the explorer is running, this starts up several processes that must all be killed to delete the desktop. See ps to find the process IDs of these processes. However, since this is dangerous, there is no good way in Windows NT/2000/XP/2003/Vista to determine an arbitrary process' desktop.
-l -
lists all the desktops on the current windowstation.
EXAMPLES
The following examples creates a file desktop.ksh that you can run from your profile.ksh using the . (dot) command:
desktop -c 0 desktop -c 1 alias d0="desktop 0" alias d1="desktop 1" alias def="desktop Default"
Then at the command line prompt, you can switch between the three desktops using the simple short aliases: d0, d1, and def.
DIAGNOSTICS
Possible exit status values are:
PORTABILITY
Windows NT 4.0. Windows 2000. Windows XP. Windows Server 2003.
AVAILABILITY
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
- Commands:
- ps
MKS Toolkit 9.2 Documentation Build 16.