GigaNews
View Full Version: FileSharing Talk

Threads in some sections have NO links for Guests, Register before you can view those threads or Log In now.
Your Ad Here

Pages: 1

using dos to delete a file with xp

(Click here to view the original thread with full colors/images)




Posted by: Smith

well i have to replace a dll file called NTDLL.DLL but its being used by windows.

so i have to delete it with dos. its in my system32 just so you know.

i forget how to use dos on startupto delete the file so can u guys explain it for me?

thanskl



Posted by: motherflux

mm...problem is, taht in XP you can't really boot to a pure command prompt.
you'll just be in a dos window

anyway, hold f8 at boot for options
and use the del command to delete whatever.



Posted by: maskawaih

mm...problem is, taht in XP you can't really boot to a pure command prompt.
you'll just be in a dos window

anyway, hold f8 at boot for options
and use the del command to delete whatever.
After holding F8, there will be options to startup in safe mode, safe mode with networking, safe mode with command promt etc. choose that command prompt.

but i think its ok if you use the ordinary Safe mode option ;)



Posted by: The_Hunter

if other ideas dont work make a windows me bootdisk and do it that way



Posted by: motherflux

mmmm I don't think a 9x boot disk dos thingy will read an NTFS partition (if that's what he has)
I may be wrong though.



Posted by: maskawaih

mmmm I don't think a 9x boot disk dos thingy will read an NTFS partition (if that's what he has)
I may be wrong though.
No, a 9x/ME boot disk will not read an NTFS partition.



Posted by: mini sparsely

well i have to replace a dll file called NTDLL.DLL but its being used by windows.



so i have to delete it with dos. its in my system32 just so you know.



i forget how to use dos on startupto delete the file so can u guys explain it for me?



thanskl
Ok don`t don`t just delete the file. You could boot up with the windows xp disk

and replace it with with the one in the disk. You could try "sfc" command to scan for modified "protected system files". You will be asked for your windows xp setup disk.

Anyways to delete the file you can type "del /?" for a list of options. If you want to replace a DLL file in use you will have to re-name first then replace it.


Example: assuming you have a copy of the dll on a disk

ren NTDLL.DLL NTDLL.DL

copy a:\NTDLL.DLL



Posted by: motherflux

or better to rename it to ntdll.old
or something so you'll remember :P



Posted by: Smith

umm im so lost.

i dont remember how to do this at all.

could someone make steps to replace this file?



Posted by: mini sparsely

umm im so lost.

i dont remember how to do this at all.

could someone make steps to replace this file?
Well first make sure you have a copy of NTDLL.DLL from your winXP setup disk.

Goto start/run.. type cmd .. click ok

type:

cd %SystemRoot%\system32
ren NTDLL.DLL NTDLL.DL
copy a:\NTDLL.DLL






vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
vB Easy Archive Final ©2000 - 2008 - Created by Stefan "Xenon" Kaeser