I would like to have a shortcut file that creates multiple Windows 10 virtual desktops, then for each screen to run its own programs.
I know so far how to run multiple programs from Command line by using
@echo off
cd "to software directory"
start "software.exe"
cd "another one"
start "another.exe"
exit
(Code from http://www.makeuseof.com/tag/launch-multiple-programs-single-shortcut-using-batch-file/)
Now what I couldn't find online is a way to auto create virtual desktops from command line, I could've used C# and do all that, but again i want a simpler way... Is it possible?
I made this tool that presses the keys: https://github.com/ITCMD/Win-Tab
Syntax: Win+Tab.exe
Its as easy as that. Enjoy!
It doesn't seem like there is any way to manipulate virtual desktops from CMD by itself.
However, one possible way of creating virtual desktops through a batch script would be to compile https://github.com/MScholtes/VirtualDesktop and place the executable in your path, or calling it directly from your script. This is probably the simplest way of doing what you're asking.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With