First of all, if you post your code between CODE tags, then you preserve your formatting.
Secondly, you have a syntax error, it EXIST not EXISTS.
So, your improved script would look like this:
code:
if $ClientType="Windows 2000 Professional"
if not exist("C:\IP3.ico")
? "Copying IP Icon to local Workstation."
Copy "\\BSCApp01\NetLogon\IP3.ico" "C:\IP3.ico"
? ''+@ERROR+' - '+@SERROR
endif
if not exist("%ALLUSERSPROFILE%\Desktop\Welcome to Interactive Practice.url")
? "Copying Shortcut for the Interactive Practice to your Desktop."
Copy "\\BSC1App01\NetLogon\Welcome to Interactive Practice.url" "%ALLUSERSPROFILE%\Desktop\Welcome to Interactive Practice.url"
? ''+@ERROR+' - '+@SERROR
endif
endif
Finally, be aware that copying to the 'All Users' profile will most likely require administrative permissions. I would alos not copy the icon into the root directory but for example %WINDIR% or %WINDIR%\SYSTEM32
[ 16. August 2002, 00:45: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.