re: copy a file or shortcut
Monday, November 5, 2007 at 9:09 am Windows Server 2003 Annoyances Discussion Forum
Posted by appleoddity
(876 messages posted)
Why not create the shortcut on the server in a folder that is shared to everyone?
Then create a login script, that is a simple batch file that copies that link to
the users desktop.
The single command in the batch file would look something like this:
COPY /Y \\server\share\shortcut.lnk %USERPROFILE%\desktop
Then when each user logs in, the script will run, and the link will be copied to
their desktop.
Your method works with a few users, but this method should work with an unlimited
number of users.
You could get more sophisticated and cause the batch file to check if the shortcut
exists or not, and then copy if it does not exist, otherwise just exit. I'll leave
that up to you to figure out. Until then, this file will be overwritten everytime
the user logs in with the current copy that is on the server.
You could even create a folder on the server just for shortcuts, and then create
a script that will cause the entire contents of the shortcuts folder to be copied
to the users desktop, and files that no longer exist to be removed. That way you
just create or remove shortcuts in that one folder, and the next time the user logs
in they get updated with the newest shortcuts, and old ones are removed. Not too
complicated, just a little batch programming.
- Written in response to:
- copy a file or shortcut (Yousef alwawi: Sunday, October 28, 2007 at 12:36 am)
There are presently no replies to this message.
|
|