Hi all I have created a batch file (CMD) to copy files from USB Stick to the windows and programs folders, the batch file says 2 files copied but they are not!!! Think it may be something to do with windows 7 built in security that stops the copying??? here is the batch command @echo off cd /d %0\.. echo Copying files... copy "*.dll" "c:\Program files\" copy "*.cmd "C:windows\system32\" echo.... done!! pause
even using xcopy or run as Administrator won't make any difference you need to take ownership of files i,e icacls
Thanks all : Xcopy did the job!! Wanted to copy in some home-made cmd files that runs backup jobs - all sorted now thanks again