Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- !macro CreateInternetShortcut _Basepath _URL
- #The documented way to create a .url is to cocreate CLSID_InternetShortcut,IID_IUniformResourceLocator and call IUniformResourceLocator::SetURL but COM is a lot of work so we just assume the internal format never changes and just treat it like a .ini!
- WriteINIStr "${_Basepath}.url" "InternetShortcut" "URL" "${_URL}"
- !macroend
Advertisement
Add Comment
Please, Sign In to add comment