Linuxkids Rotating Header Image


@echo off
rem ----------------------------------------------------------------------------------
rem Author:            Andrew Blokzyl
rem Contact: 

rem Description:       Script to delete certain icons from everyone's desktops on a
rem	                   workstation or terminal server, especially if you post them on the
rem		               all users desktop and don't want duplicate icons
rem ----------------------------------------------------------------------------------

for /f %%i in ('dir /b \\server\users') do (
 del "\\server\users\%%i\desktop\launch microsoft office outlook.lnk"
 del "\\server\users\%%i\desktop\microsoft office outlook 2003.lnk"
 del "\\server\users\%%i\desktop\microsoft office excel 2003.lnk"
 del "\\server\users\%%i\desktop\microsoft office word 2003.lnk"

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>