Script Search "Favorites" Folder
Having the hardest time creating this script, hoping someone can help.
Is there a script to search all the “Favorites†Folders in “Documents and Settings†and create a Shortcut within the “Favorites†folder. This includes having multiple USERPROFILES. Thanks,
Is there a script to search all the “Favorites†Folders in “Documents and Settings†and create a Shortcut within the “Favorites†folder. This includes having multiple USERPROFILES. Thanks,
0 Comments
[ + ] Show comments
Answers (5)
Please log in to answer
Posted by:
squeakstar
14 years ago
Posted by:
Kevster1983
14 years ago
Posted by:
squeakstar
14 years ago
Are they windows newbs or something? [;)]
Personally i will always go for group policy first before scripting, coz admittedly i'm a bit of a script kiddy when it comes to it - cut a bit out of here, change a variable there... we do have a bit of a shortcut script going on for user desktops which might set you on the right lines... I'm not saying this works outright mind coz i've cut loads of other crap out in betwen the interesting bits. using the variable %username%/favourites somewhere would probably help too.
What have your sys admin team against group policy?
Personally i will always go for group policy first before scripting, coz admittedly i'm a bit of a script kiddy when it comes to it - cut a bit out of here, change a variable there... we do have a bit of a shortcut script going on for user desktops which might set you on the right lines... I'm not saying this works outright mind coz i've cut loads of other crap out in betwen the interesting bits. using the variable %username%/favourites somewhere would probably help too.
Dim WSHShell
Set WSHShell = CreateObject("WScript.Shell")
'Create Helpdesk desktop Shortcut
SET oFSO = Wscript.CreateObject("Scripting.FileSystemObject")
strDsk = WshShell.SpecialFolders("Desktop")
' What is the label for the shortcut?
strshortcut = strDsk & "\IT Help Desk Request.url"
If Not oFSO.FileExists(strshortcut) Then
SET oUrlLink = WshShell.CreateShortcut(strshortcut)
' What is the path to the shared folder?
oUrlLink.TargetPath = "http://helpdesk"
oUrlLink.Save
End If
What have your sys admin team against group policy?
Posted by:
Kevster1983
14 years ago
Posted by:
squeakstar
14 years ago
why are those more senior than us mere minions so behind on processes in IT, or just too stubborn to try new ways? It drives me insane too!
can't you use the script or your variant as a logon script? Add it to either a GPO or the startup script of each users profile? That way it kicks in at logon and job done - or is that against your sysadmin?
You could have done all this in about 8 clicks with a GPO and have it out there already - I feel for ya guy [:(]
can't you use the script or your variant as a logon script? Add it to either a GPO or the startup script of each users profile? That way it kicks in at logon and job done - or is that against your sysadmin?
You could have done all this in about 8 clicks with a GPO and have it out there already - I feel for ya guy [:(]
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.