Page 1 of 1 1
Topic Options
#203881 - 2011-11-30 08:41 PM COPY - %PROGRAMFILES% - WIN7 x32 & x64
ScottAtTOS Offline
Just in Town

Registered: 2011-02-18
Posts: 3
Loc: FL
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?

Top
#203882 - 2011-11-30 08:52 PM Re: COPY - %PROGRAMFILES% - WIN7 x32 & x64 [Re: ScottAtTOS]
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4563
Loc: USA
It seems like to me I had to turn off the UAC before it would let me copy files there, even as an Admin.

As a side note, in version 4.62, a new macro was added called @programfilesx86. I think you will find this to be useful when copying files between 32 and 64bit OSs.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 394 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

Generated in 0.149 seconds in which 0.126 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org