• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

OMG come laugh at me

fs5

Lifer
I am an idiot... <bangs head against wall>

I was working on a project for work and it copies stuff into c:\windows\system32\temp when the program starts up and then promptly deletes it on exit. Now mind you I'm working off someone's garbage code but some how the program deleted my entire c:\windows\ folder.

The first time I didn't realize what had happened and figured it was a virus or something else was wrong (my laptop crashed about 2 weeks ago due to some sort of unrepairable virus or whatnot). So I reinstall everything (takes about 2 hours w/ updates).

Then I get back to work... I run the program and before I realize what was happening I get the same windows error. Bingo, it hits me... I'm stupid.... Now back to reinstalling from scratch.
 
Originally posted by: Bryan
You are hereby banned from posting responses in the Technical Support forum.

it was 50% my fault, and 50% the fault of the previous programmer 🙁 Plus I never go over there anyways 😛
 
so the program puts stuff into the windows temp folder but instead of just deleting it's contents from the windows temp folder when it's done it deletes the whole windows folder?


lol.
 
Originally posted by: iloveme2
so the program puts stuff into the windows temp folder but instead of just deleting it's contents from the windows temp folder it deletes the whole windows folder?


lol.

uh.. at the moment it does... I have go back through the code and look how the string ended up being c:\windows\ instead of c:\windows\system32\temp...
 
Originally posted by: fivespeed5
Originally posted by: Bryan
You are hereby banned from posting responses in the Technical Support forum.

it was 50% my fault, and 50% the fault of the previous programmer 🙁 Plus I never go over there anyways 😛

Why am I not :Q?

😛
 
Originally posted by: WannaFly
I hereby revoke your permit to compile, run, or interpret code ever again.

😱🙁 k I the OP to make sure people notice that the code wasn't entirely mine!
 
Wait, how can you delete the windows dir when you're logged in to windows, thats not possible b/c of files that are in use. Where you booting to a dos prompt or something?
 
Originally posted by: warcrow
Wait, how can you delete the windows dir when you're logged in to windows, thats not possible b/c of files that are in use. Where you booting to a dos prompt or something?

It deleted the contents in /windows/ or most of 'em at least 🙁
 
Originally posted by: fivespeed5
Originally posted by: warcrow
Wait, how can you delete the windows dir when you're logged in to windows, thats not possible b/c of files that are in use. Where you booting to a dos prompt or something?

It deleted the contents in /windows/ or most of 'em at least 🙁

Ok, then you're an idiot (you said it yourself!) 😉 :beer:
 
Back
Top