Jump to content
Sign in to follow this  
B3TA_SCR1PT3R

website shortcut

Recommended Posts

B3TA_SCR1PT3R

Func _MakeWeb($sURL,$sPath)
    If $sURL <> "" Then
        If $sPath <> "" Then
            FileWriteLine($sPath,"[InternetShortcut]")
            FileWriteLine($sPath,"URL="&$sURL)
        EndIf
    EndIf
EndFunc

for makin Internet Shortcuts

does this count as a UDF its so short and all..and its probly already been done..oh well


[right][font="Courier New"]...Run these streets all day, I can sleep when I die.[/font] [/right]

Share this post


Link to post
Share on other sites
Valik

Or it can be done with a single call to IniWrite since a URL file is just an INI file.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×