

- #HOW TO CREATE A SHORTCUT ON DESKTOP ON WINDOWS 7 INSTALL#
- #HOW TO CREATE A SHORTCUT ON DESKTOP ON WINDOWS 7 WINDOWS 10#
- #HOW TO CREATE A SHORTCUT ON DESKTOP ON WINDOWS 7 SOFTWARE#
Snap! Cybersecurity & the boardroom, Cooper, Starlink sat internet, & Sgr A* Spiceworks Originals.
#HOW TO CREATE A SHORTCUT ON DESKTOP ON WINDOWS 7 SOFTWARE#
All OP is discussing is an ease of use question, not some ridiculous software legality issue that people seem to love to fabricate on this website (and might I add, no one cares about unless they specifically ask about it). If the licensing for products was written in this manner then it would be illegal to run calc.exe via GotoMyPC and henceforth then entire concept of remote connectivity would be illegal.
#HOW TO CREATE A SHORTCUT ON DESKTOP ON WINDOWS 7 INSTALL#
Nothing in this post discussed how/if there was a legal copy of Windows 7 to install in that VM.Ģ.
#HOW TO CREATE A SHORTCUT ON DESKTOP ON WINDOWS 7 WINDOWS 10#
For starters, Windows 10 Pro has Hyper-V built into it and you can run whatever you want. Not only does this have nothing to do with answering the question it's horribly wrong.ġ. VDI and running a VM locally are not the same. Its the same as Windows 10 license, which MS employees and the also EULA say you can run Windows 10 as a VM locally. Instead of using the software directly on the licensed computer, you may install and use the software within only one virtual (or otherwise emulated) hardware system on the licensed computer" VDI licensing is for remote access of a client OS VM only. As long as it's on the local machine, as the OP is doing with Windows 10 Pro, it's legal. You cannot run installed applications on a remote machine as a remote application unless it is a remote application.įor example if you installed MS Office 2019 on machine-A, you cannot just run excel.exe on machine-B to run MS Excel on machine-B.ġ. There are no licensing for it (unless it is a VDI solution).Ģ. You are not permitted legally to run Windows 7 as a VM.

How do I create a shorcut on the WIndows 10 desktop to the legacy application running on the HyperV VM?ġ. I have a WIndows 7 Hyper-V VM running an old application. ::********************************************************************************************īased on Rohit's answer, I created this batch script which accepts the input parameters: AppPath, AppName, AppExtension and ShortcutDestinationPath.Įcho sLinkFile = "%ShortcutDestinationPath%\%AppName%.lnk" > CreateShortcut.vbsĮcho oLink.TargetPath = "%AppPath%\%AppName%.%AppExtension%" > CreateShortcut.vbsĮcho oLink.WorkingDirectory = "%AppPath%" > CreateShortcut.vbsĮcho oLink.Description = "%AppName%" > CreateShortcut.vbsĮcho oLink.IconLocation = "%AppPath%\%AppName%.bmp" > CreateShortcut.vbsĮxample usage to create a shortcut to C:\Apps\MyApp.exe in the folder C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp: MakeShortcut.1. I present a small hybrid script to create a desktop shortcut.Īnd you can of course modifie it to your purpose. Note that MyApp48.bmp is a 48x48 pixel image.Įcho Set oWS = WScript.CreateObject("WScript.Shell") > CreateShortcut.vbsĮcho sLinkFile = "%userprofile%\Desktop\MyApp.lnk" > CreateShortcut.vbsĮcho Set oLink = oWS.CreateShortcut(sLinkFile) > CreateShortcut.vbsĮcho oLink.TargetPath = "C:\MyApp\MyApp.bat" > CreateShortcut.vbsĮcho oLink.WorkingDirectory = "C:\MyApp" > CreateShortcut.vbsĮcho oLink.Description = "My Application" > CreateShortcut.vbsĮcho oLink.IconLocation = "C:\MyApp\MyApp48.bmp" > CreateShortcut.vbs I wanted the shortcut to appear on the desktop.īut I also needed to set the icon, the description, and the working directory. I didn't try mklink, since I didn't want to mess with permissions. The JScript solution gave me syntax errors. The PowerShell solution ran, but no shortcut appeared. Rohit Sahu's answer worked best for me in Windows 10.
