Keep your batch file in
%homedrive%%homepath%\start menu\programs\startup\
to start your PC with your favorite applications within virtual desktops everytime!
Command set to utilize a hacky way to start virtual desktops, with user-defined programs, using Vdesk.
created in reference to this issue
fig: Automatically create 3 virtual-desktops and, start applications (can be configured to do so much more)
- The Vdesk application
- Correctly set-up environment variables
To be noted while configuring your own
- For browser/browser-based applications (Chrome, Firefox, Slack Desktop, Skype) wrap in
ping -n 2 127.0.0.1 > nul
to implement a necessary 1 second wait time. - Do not use the
noswitch:true
attribute for browser/browser-based applications. - Targeting multi-version applications that exist side-by-side on the same system is achieved with a shortcut file, when the
%Path%
variable is mapped out. Starting such a file exists in a different context so, context should be forwarded withstart /i
and waited on with the/w
switch. - Keep your batch file in
%homedrive%%homepath%\start menu\programs\startup\
to start your PC with your favorite applications everytime!
start /i /w vdesk create:3
ping -n 2 127.0.0.1 > nul
start /i /w vdesk on:1 run:slack
ping -n 2 127.0.0.1 > nul
start /i /w vdesk on:2 run:devenv2015
start /i /w vdesk noswitch:true on:3 run:sublime_text
exit
Download: This is also available as a file
Standard MIT License.