I revisited the FileSystemObject and found a way to create a file on the server in the right directory with the correct name for what was needed.
'Set objTextStream=fso.OpenTextFile(newpath & "" & strJobNumberChecked & ".url", fsoForWriting, True)'objTextStream.WriteLine("[DEFAULT]")'objTextStream.WriteLine("BASEURL=http://server2/jobs-db/JobMgmtResponse.asp?hdnJobNumber=" & strJobNumberChecked & "&submit=GO")'objTextStream.WriteLine("[internetShortcut]")'objTextStream.WriteLine("URL=http://server2/jobs-db/JobMgmtResponse.asp?hdnJobNumber=" & strJobNumberChecked & "&submit=GO")'objTextStream.WriteLine("IDList=")'objTextStream.WriteLine("[{000214A0-0000-0000-C000-000000000046}")'objTextStream.WriteLine("Prop3=19,2")
Looking at the created file in a text editior. It looked fine. And when cut and pasted into a different and fuctional shortcut file, it worked.
[DEFAULT]BASEURL=http://server2/jobs-db/JobMgmtResponse.asp?hdnJobNumber=9901-2&submit=GO[internetShortcut]URL=http://server2/jobs-db/JobMgmtResponse.asp?hdnJobNumber=9901-2&submit=GOIDList=[{000214A0-0000-0000-C000-000000000046}Prop3=19,2
However, I have only been able to create a file that "looks" like a .url and is named using the .url extension (in the ASP code and has the right .url icon in the directory). I know I used the Create TextFile but when I used the .txt extension in the ASP code I of course got a text file in the directory on the server with same contents as above URL properties above. If I left off the extension it created an unknown file type.
When I used the .url extension the file looked good but it didnt open the page in the browser and when I looked at the properties of the shortcut produced (right-click properties) I found it was different than a functional shortcut by not having the "Web Document" tab. Not sure why...except the create TextFile in the FSO.... I will continue trying but...
Anyone know how to make afunctional shortcut file in this case? The help and clues would be appreciated much. Thanks