- How to create a shortcut on desktop using chrome how to#
- How to create a shortcut on desktop using chrome full#
lnk Example 2: Set objShell = WScript.CreateObject("WScript.Shell") URL shortcuts are created in the same way however they do not support all of the properties or a Standard shortcut, the file name must also be a. ObjShortCut.Description = "Run the Notepad." ObjShortCut.TargetPath = "%SystemRoot%\system32\notepad.exe" Set objShortCut = objShell.CreateShortcut(usersDesktop & "\Notepad.lnk") UsersDesktop = objShell.SpecialFolders("Desktop") WorkingDirectory Specifies the working directory for the application.Įxample 1: Set objShell = WScript.CreateObject("WScript.Shell")ĪllUsersDesktop = objShell.SpecialFolders("AllUsersDesktop") Valid styles are the same as those shown for the Run method and are listed in Table 3.9. Digital Banking works best in Google Chrome, but you may also use current versions of Mozilla Firefox, Microsoft Edge, or Safari to access your Robins Financial. In the second step, from the pop-up menu, select More tools and click on Create shortcut. Once you open the website, click on the three vertical dots at the top right corner of the browser. WindowStyle Specifies the initial window type for the application. To start, open the Chrome browser and head to the website you wish to create a shortcut for. It will not check to ensure that the path is correct. When setting a TargetPath, WSH will accept the value entered.
How to create a shortcut on desktop using chrome full#
You must specify the full path, including the drive letter or UNC path. TargetPath Complete path to the target application. If no location is specified, the default icon for the application is used. IconLocation Allows you to specify an icon and an icon index for the shortcut. If the key combination you select is already in use, it will be overwritten and will be applied to the new shortcut created by your script. Keyboard shortcuts typically consist of one of the following keys plus a letter (az), number (09), or function key (F1F12):įor example, to set the keyboard shortcut to the CTRL key and the 9 key, use this value:
How to create a shortcut on desktop using chrome how to#
Here are the steps how to deploy poweshell scripts through Intune: Go to Azure management portal then go to Intune > Device Configuration > Scripts. With the help of powershell script we have Created and Removed shortcuts on user Desktop through intune for the following applications. HotKey Keyboard shortcut: a combination of keys that, when held down together, will start the application. Adding and Removing Shortcuts on User Desktop through Intune. FullName Read-only property that returns the complete path to the target application.
Description Description given to the shortcut. Property Description Arguments Additional command-line arguments that can be used when starting the application. Description however there are a few other properties you can make use of. In the below example script I am simply creating a shortcut to Notepad using the properties. The below will show you how to use a VBS Script to Create a Shortcut and also a URL shortcut to a webpage.