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
WshShortcut Object | WshUrlShortcut Object
© 2001 Microsoft Corporation. All rights reserved.
Build: Topic Version 5.6.9309.1546