Batch file open url

broken image
broken image

Import os, system, re, browsers, strutils, strformat Then assign your URL files to the created executable. Install Nim and then run nim compile urlhandler.nim on it. I only tested it on my own operating system, but it should also work on Linux and macOS. As URL files are just text files, I have solved this problem by attaching a script as handler to them, which reads the URL from the file and opens that URL with the default web browser.