|and type in some delete window 32 type of thing and saved it as triforce.bat or something.|
Um that's a really strange "trick"
Who in their right mind would Delete a Windows system folder?
Didn't common sense kick in at some time?
Anyway, you may need to run a Repair on Windows, please select your OS version: (Note: no data will be removed, unless your friend also deleted that too !!)
Microsoft's Windows XP Home Repair Install step by step
Microsoft's Windows XP Professional X64 Repair Install step by step