Alot of code, but here is the part that writes the file.
''''''''''''''''''''Begin the loop
Do While n = 0
''''''''''''''''''''Logic for Setting Up URL's
'xurl = trim(inputbox("Will this be a <W>site or a <P>ram.(W for website; P for program "

)
''''''''''''''''''''Prepare the xurl variable
cstr(xurl)
xurl = ucase(xurl)
''''''''''''''''''''Set linktype to proper data type
'(Unsuported in VBScript) cint(lnktype)
''''''''''''''''''''Set the lynk variable
lynk = trim(inputbox("Enter the program or web you wish to have automatically linked. For websites the <http:\\www> is not necassary"

)
yAuth = instr(1, lynk, ".", 1)
if yauth <> 0 then
lnktype = "1"
Else
lnktype = "2"
End if
If lnktype = "2" then
' write file info
objOutputFile.WriteLine("Wshshell.run" & " " & pa & lynk & pa)
elseif lnktype = "1" then
xauth = instr(1, lynk, "call", 1)
if xauth = 0 then
iexplore = "iexplore"
objoutputfile.writeline(xn & " " & pa & iexplore & " " & lynk & pa)
Else
iexplore = "iexplore"
objoutputfile.writeline(xn & " " & pa & iexplore & " " & "http:\\" & user & ":" & pass & "@" & lynk & pa)
End IF
End if
''''''''''''''''''''Set variable to hold url info
iUrl = Trim(InputBox("If you would like to add another program or website to your auto startup file (Y/N) now"

)
''''''''''''''''''''Confirm set as string
Cstr(iUrl)
''''''''''''''''''''Confirm upper case
iurl = Ucase(iurl)
if iurl = "Y" then
n = 0
else
n = 1
End if
Loop
''' END LOOP
'''Write Cleanup Code to file
objoutputfile.writeline("Set objfilesystem = Nothing"

objoutputfile.writeline("WScript.Quit(0)"