I'm not sure why you would want to do that. Anyway, here is a basic code to rename desctop shortcut.
oShell = CREATEOBJECT("wscript.shell")
oFSO = CREATEOBJECT("Scripting.FileSystemObject")
cDesktop = ADDBS(oShell.SpecialFolders("Desktop"))
DIMENSION laList[1]
ADIR(laList, cDesktop + "My Application*.lnk")
oFile = oFSO.Getfile(cDesktop + laList[1,1])
oFile.Name = "My Application V-3-5-4.lnk"
>Dear all,
>
>By utilizing the function AGetFileVersion() I can update the version number at the program windows caption when version update is made.
>
>However with what codes can I update the desktop link with "ProgramName - VersionNumber" programatically, say, when the EXE file is run, check the VersionNumber at the deaktop link with the one of the EXE file, if not match, synchronize the version number with the one of the EXE file ?
>
>With regards,
>
>Ransome
--sb--