Last active
December 12, 2022 12:16
-
-
Save Tcip/0c0435a72b0e5668b02f992895419b9a to your computer and use it in GitHub Desktop.
Create a InternetShortcut (.url) file. Variable method.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
REM Create a InternetShortcut (.url) | |
SET _name="Example.com" | |
SET _website="https://example.com" | |
echo [InternetShortcut] > "%_name%.url" | |
echo URL=%_website% >> "%_name%.url" | |
REM Example.com.url |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See also
Create a InternetShortcut (.url) file. Variable method.you are here