#!/bin/bash
# syntax: label location
label="$1"
location="$2"

if test "X$label" = X -o "X$location" = X
then
    echo Usage: $0 label location
    exit 1
fi

file="${label}.url"
echo  > "$file" '[InternetShortcut]'
echo >> "$file" "URL=$location"
exit
