Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a desktop shortcut
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01149668
Message ID:
01150036
Views:
46
Thanks!. To delete an existing one, then rename another to that name
*SET STEP ON 
mFile = (ADDBS(strDesktop) + FORCEEXT(newname, "lnk"))
	if FILE(mFile) == .t.
		DELETE FILE(mFile)
	endif
RENAME 												;
(ADDBS(strDesktop) + lcShortcut + ".lnk")			; 
    TO 													;
(ADDBS(strDesktop) + FORCEEXT(newname, "lnk"))
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform