Created
December 12, 2022 11:32
-
-
Save Tcip/33a0cc3d5d89255de57f5feaa9cdeeb1 to your computer and use it in GitHub Desktop.
Create a InternetShortcut (.url) file. Variable method. And URL with spaces.
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/hello world" | |
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. And URL with spaces.you are here