Question : How to supress 'Access denied' when copy/replace file in the System folder using Command Prompt

How to suppress 'Access denied' when copy/replace file in the System folder using Command Prompt

I use copy c:\a.txt  d:\  /S  /Y  and get 'Access Denied'

Answer : How to supress 'Access denied' when copy/replace file in the System folder using Command Prompt

In this case you do not want to use the copy command but XCOPY

Goto your command prompt and type in

xcopy c:\a.txt d:\ /c

/C parameter is to suppress and error dialog boxes

type xcopy /? to find out more paramters

Hope this helps!
Random Solutions  
 
programming4us programming4us