eksime / VDesk

Launch programs on new virtual desktops.
GNU General Public License v3.0
641 stars 57 forks source link

Can this work with shortcuts? #69

Open chaoscreater opened 5 years ago

chaoscreater commented 5 years ago

Can we use this with shortcuts like .lnk files? Or does this only work with .exe processes?

The shortcut I'm trying to launch has the following parameters:

"C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager64.exe" /DataSource:9c296351-f4ad-47c7-aa26-ebe3df7dae23 /Repository:00000000-0000-0000-0000-000000000000 /Session:c669bb52-4a73-4201-af96-f458a5a9b23d

And running this does not work (The system cannot find the file specified):

vdesk on:1 run:"C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager64.exe" /DataSource:9c296351-f4ad-47c7-aa26-ebe3df7dae23 /Repository:00000000-0000-0000-0000-000000000000 /Session:c669bb52-4a73-4201-af96-f458a5a9b23d

NVM, running shortcuts work, you just can't have spaces in the shortcut name, even though there are quotations surrounding the filepath...

danielkrajnik commented 2 years ago

Same problem, spaces removed from name, still doesn't work.