Skip to content

Instantly share code, notes, and snippets.

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