Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Create Shortcuts/Get Desktop Folder
Message
 
To
28/10/2004 00:04:56
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00866766
Message ID:
00955527
Views:
20
>George--
>
>>>
>>>>The WSH can do this as well, plus retrieve the name of the All User's Desktop.
>
oShell = CREATEOBJECT('WScript.Shell')
>>>>? oShell.SpecialFolders("AllUsersDesktop")
>>>>? oShell.SpecialFolders("Desktop")
>
>The implication of this that if Suzie logs in to XP (Suzie is just a regular user, not an administrator) and runs my VFP EXE, the EXE can create/modify shortcuts in the ALL User's Group. As I understand it, regular user Suzie cannot open Windows Explorer in XP and see the folder that has the icons for all users. All non-administrator Suzie can do without WSH/my VFP EXE is create/modify her shortcuts.
>
>Am I right?
>
Tim,

I believe so, but am not sure. I've only worked on machines that I have full administrator rights to.

I believe, however, that this is the case based on my limited knowledge of Windows security policies.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform