Skip to content

Instantly share code, notes, and snippets.

@Tcip
Created December 12, 2022 11:15
Show Gist options
  • Save Tcip/0179401bc6df54d6419d174701b126dd to your computer and use it in GitHub Desktop.
Save Tcip/0179401bc6df54d6419d174701b126dd to your computer and use it in GitHub Desktop.
Create a InternetShortcut (.url) file.
@echo off
REM Create a InternetShortcut (.url)
echo [InternetShortcut] > "Example.com.url"
echo URL=https://example.com >> "Example.com.url"
REM Example.com.url