Windows Script Host  

The shortcut pathname must end with .lnk or .url

When you named your shortcut, either you did not give it a file extension or you gave it an extension other than *.lnk, nor *.url.

When using the CreateShortcut method, the file extension is incorrect or missing.

To correct this error

See Also

WshShortcut Object | WshUrlShortcut Object