I can't get the COPY command to copy a file from a UNC share to an exsiting %PROGRAMFILES% directory on a Windows 7 32-bit & 64-bit machine.

Example code:

COPY "\\computer\shareName\folder\file.ini" "%PROGRAMFILES%\folder\" /c /h /r

I'm sure it has to do with all the permissions set by Windows 7 on the system folders but I can't find any work around that works. BTW...works 100% on XP x32 machines.

Any ideas?