How to copy a file from the cd to system32

September 13, 2010 at 12:49:50
Specs: Windows 7
Using DOS.. i have a folder which is going to become a iso file..then put onto a cd. it will copy the hal.dll file from inside of the folder then paste it in C:\windows\system32\


I have :

@echo off

xcopy C:\recoveryfile\hal.dll C:\windows\system32\hal.dll

It cannot find the file? HELPP


See More: How to copy a file from the cd to system32

Report •


#1
September 13, 2010 at 12:52:52
What does dir say about that file?

dir hal.dll /s

may need attrib c:\recoveryfile\ if hidden too.

Why did it take me over a year to phone in a problem to ATT?


Report •

#2
September 13, 2010 at 13:01:00
So where do i put the dir hal.dll /s ? and what will it do.

also just a update i changed C:\recoveryfile\ to D:\recoveryfile

where it is in my drive


Report •

#3
September 13, 2010 at 14:20:34
kevin232 "DOS" doesn't recognize NTFS so if you are booting to dos and trying a file copy you will get distination unknown.

A windows recovery is far more involved than coping files.
You will not be able to copy system used files while windows is operational since the system will prevent you overwriting the open file(s).

Perhaps if you told us what you are doing we might have a suggestion on how to proceed.


Report •

Related Solutions

#4
September 13, 2010 at 15:33:07
If one assumes this is "true" DOS you're dealing with, then the "longfilename" conventions would apply:

xcopy C:\recove~1\hal.dll C:\windows\system32\hal.dll

or the appropriate "~#" to suit.


Report •

#5
September 13, 2010 at 15:37:38
So on D is the folder available to the user you are using?

Why did it take me over a year to phone in a problem to ATT?


Report •


Ask Question