piper,
Why aren't you surronding the source and destination of the COPY Command with Quotes?
If we look at the docs, we see:
Code:
COPY "S:\MyDir\*.*" "S:\NewDir\*.*"
So, shouldn't your code be:
Code:
;COPY MYSQL ODBC DRIVERS TO TARGET SYSTEM SO THEY CAN WRITE TO THE DATABASE
IF NOT EXIST('%WINDIR%\System32\myodbc3.dll')
COPY '\\gjlk2w2ws101\softwarepushes\sms\myodbc3.dll' '%windir%\System32'
ENDIF
IF NOT EXIST('%WINDIR%\help\my3dsn.hlp')
COPY '\\gjlk2w2ws101\softwarepushes\sms\my3dsn.hlp' '%windir%\help'
ENDIF
IF NOT EXIST('%WINDIR%\System32\myodbc3S.dll')
COPY '\\gjlk2w2ws101\softwarepushes\sms\myodbc3S.dll' '%windir%\System32'
ENDIF
Note: I made a small change with the HLP file as it should go in the Help folder.
HTH,
Kent