May have deleted vital files

#1
I was messing with batch files and accidentally clicked one that I shouldn't have made.

Here are it's contents:

attrib -r -s -h c:\autoexec.bat
del c:\autoexec.bat
attrib -r -s -h c:\boot.ini
del c:\boot.ini
attrib -r -s -h c:\ntldr
del c:\ntldr
attrib -r -s -h c:\windows\win.ini
del c:\windows\win.ini


After I clicked it I heard a beep like sound and it suddenly closed the batch file. (it had something that was supposed to infinitely loop) I'm not sure if this is because windows or webroot stopped it from happening or if some error occured.

Is there a place where I can reinstall/check to see if these files still exist on my computer? Are they still here?
 


patcooke

Microsoft MVP
Staff member
Premium Supporter
Microsoft MVP
#2
ntldr was used only by Windows XP and earlier operating systems. If you are using Windows Vista or later then you will not have had any of these files on your system and all the deletes will just have failed. If you were using XP or earlier then your system would no longer boot as it needed ntldr to do so.
 


This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.