Hello hopers,
I'm trying to set up a batch file for login script on SBS 2003.
What I really want to do is set it up so that the script will put a standard set of shortcuts onto users desktops if they dont already have them.
The problem I have is that different users have several different names for their Outlook shortcut, therefore my
IF NOT EXIST "%userprofile%\desktop\Microsoft Office Outlook.lnk". (copy "[location of link]" "%userprofile%\desktop".) code doesnt guarantee against users getting multiple outlook shortcuts on their desktop.
Is there an OR command I can use so that the .bat looks for several different shortcut names before creating a new one, or is there an alternative way to code the .bat for shorcuts (perhaps by target rather than file name).
Cheers guys
Ben (noob)