>>oShell = CREATEOBJECT('WScript.Shell')
>>lcdesktop = oShell.SpecialFolders('Desktop')
>>oLink = oShell.CreateShortcut(lcdesktop + "\" + lcname)
>>oLink.TargetPath = lcfile
>>oLink.Save
>
>Back again...works fine on Win95 machine. Run same code on NT machine inside vfp6 or outside of it and get same error
>
>"OLE error code...Class Not Registered" when it hits the postsetup, first line.
>
>??
Install the Windows Script Host - there's a self-installing freely-redistributable version available for download on the MSDN Scripting website - see the link in my sig