jskfan
asked on
script to create desktop shortcut
I have put this script under GPO /logon when I logon the script creates a shortcut under c:\document and settings\username instead of the desktop.
Set oWS = WScript.CreateObject("WScr ipt.Shell" )
strDesktop = ows.SpecialFolders("Deskto p")
sLinkFile = "ADminProject.LNK"
Set oLink = oWS.CreateShortcut(strdesk top & sLinkFile)
oLink.TargetPath = "C:\Documents and Settings\%username%\NetHoo d\Network Administrator files on sharepointserver"
oLink.Save
Set oWS = WScript.CreateObject("WScr
strDesktop = ows.SpecialFolders("Deskto
sLinkFile = "ADminProject.LNK"
Set oLink = oWS.CreateShortcut(strdesk
oLink.TargetPath = "C:\Documents and Settings\%username%\NetHoo
oLink.Save
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This Saturday.....only three days away! Then I will be away until the new year! I need a holiday, so we're going to enjoy it!
Thanks Chandru.
See you in the new year!
Regards,
Rob.
Thanks Chandru.
See you in the new year!
Regards,
Rob.
Happy Christmas and also a prosperous New year 2008............ and Happy married life
Yes you really need a holiday.........
Wow! this saturday. Good. Congrats..........
See you
regards
Chandru
Yes you really need a holiday.........
Wow! this saturday. Good. Congrats..........
See you
regards
Chandru
Thanks! Keep up the good work here on EE, you've answered a lot of questions lately. Excellent job!
I find that answering the different queries of others has been the fastest way for me to learn new things.
Happy Christmas in advance to you as well, and jskfan too!
Regards,
Rob.
I find that answering the different queries of others has been the fastest way for me to learn new things.
Happy Christmas in advance to you as well, and jskfan too!
Regards,
Rob.
ASKER
Excellent !!!!!!!
When is your marriage
Advance wishes for your marriage and have a nice time. :-)
cheers
Chandru