Annoyances.org
Home » Windows Server 2003 Discussion Forum » Message 1193556986 » Entire Thread Search | Help | Home
  
copy a file or shortcut
Showing all messages in thread #1193556986
Windows Server 2003 Annoyances Discussion Forum


The following are all of the messages in this thread (2 in all), shown in chronological order. Click any message subject to view that message by itself or to view the thread hierarchy.
copy a file or shortcut
Sunday, October 28, 2007 at 12:36 am
Posted by Yousef alwawi (5 messages posted)

dear all, i think we all need to make this workable, sometimes in my network i have a request form someone to make copy of file or shortcut to users desktop because i am using a domain in my network. and what i do is go to each user through my computer and paste the file or folder ... and go to another pc. i think there should be another way which is easier and cooler than the way i use. with all my appreciation

[Reply or follow-up to this message]

re: copy a file or shortcut
Monday, November 5, 2007 at 9:09 am
Posted by appleoddity (1348 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.

[Reply or follow-up to this message]

Tip: Use one of the [Reply or follow-up to this message] links above to add a message to this thread
Return to the Windows Server 2003 Discussion Forum

All content at Annoyances.org is Copyright © 1995-2008 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.