Solved

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

Posted on 2007-11-27
2
1,245 Views
Last Modified: 2008-02-01
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'
0
Comment
Question by:myang999
2 Comments
 
LVL 11

Accepted Solution

by:
theProfessa earned 500 total points
ID: 20362292
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!
0
 

Author Comment

by:myang999
ID: 20362330
I am sorry I have to reopen this. There was typo in my path that's why it worked.

I am trying to copy and place one file to 'System32\Drivere\ETC' directory.

The above solution does not work in this case.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ok I have been working on this for some time having learned and gained certification in XenDesktop 4 along came version 5 which was released last month. Since then I have been working to deploy XenDesktop 5 in a small environment with only 2 virt…
YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now