I have 2 shortcuts on the following share: \\suns\public\publicdesktop\*.lnk and I need them to be placed on all user's desktop upon logging onto my domain. Here is my logon script (userlogon.bat):
@echo off
net use g: /delete
net use p: /delete
net use g: \\suns\groups
net use p: \\suns\public
@copy \\Suns\public\PublicDesktop\*.lnk %userprofile%\desktop\*.lnk
the mapped drives do appear, but the shortcuts are not showing up ont he desktops. I have made sure that the EVERYONE groups has full access to the publicdesktop share.
2006-12-20
03:42:55
·
2 answers
·
asked by
aaviles769
2
in
Computers & Internet
➔ Computer Networking
the path name got cutt-off:
...\publicdesktop\*.lnk
2006-12-20
04:16:52 ·
update #1
I took off the final ".lnk" and get "Syntax of the command is incorrect" when I execute this script
2006-12-20
06:13:16 ·
update #2