Purpose:Create or switch desktops


Format:DESKTOP [/C [/N] newdesktopname [,startapp]]
DESKTOP desktopname


startappThe program to launch in the new desktop.


/C(reate)/N(o activate)




DESKTOP will create a new Windows desktop, or switch to an existing desktop.


You can specify the program DESKTOP should launch in the new desktop. The default is USERINIT.EXE (which will launch Windows Explorer).


If you don't specify any arguments, DESKTOP displays all of the existing desktops.


NOTE: This command is deprecated, because DESKTOP does not support the Virtual Desktops introduced in Windows 10. Use VDESKTOP to manage Virtual Desktops.




/CCreate a new desktop.


/NDon't switch to the new desktop.