DesktopPlus can be controlled by means of two command-line interfaces. These are dp.exe, the DesktopPlus main program which can be used to switch to a specific Virtual Desktop and dputil.exe an external program which can be used to move and copy windows between Virtual Desktops.
Both dputil.exe and dp.exe can be found in the DesktopPlus installation directory. dp.exe is dependant on dpHooks.dll, so this file must either be in the path or the working directory when dp.exe is executed.
The format for dp.exe commands is as follows:
dp.exe <desktop_number>
For example, to switch to Virtual Desktop 3, the following command could be issued from the command prompt:
dp.exe 3
The format for dputil.exe commands is as follows:
dputil.exe <MOVE|COPY> <Desktop [1-9|ALL]> <Window Title>
For example, to move an instance of Notepad to Desktop 4, use the following command:
dputil.exe move 4 "Notepad - Untitled"
Copyright © 2002-2004, ACS