Originally posted by DimPrawn
View Post
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Man accidentally 'deletes his entire company' with one line of bad code
Collapse
X
-
-
Back in the 1980s, working on an Amstrad PC1512 with twin floppy drives, I had to delete the object files every time I'd run the assembler and linker to free space on the disk containing my source code. Turns out that if you try to typeOriginally posted by Hobosapien View PostThis would never have happened with Windows.
IT equivalent of the darwin awards.
but accidentally catch the spacebar and instead typeCode:del *.obj
then MSDOS 3.2 ignores the "obj" and deletes the entire contents of the diskCode:del *. obj

It took me about three days to stitch a couple of large 8086 assembly language source files back together manually using Norton Utilities' hex sector editor. On the bright side, I learned lots about the FAT file system's internal structure in a very short amount of time
Comment
-
Comment
-
Comment
-
-
It kind of is when it's in a script with variables. That weren't set due to a "bug"*Originally posted by stek View PostCan't really call 'rm -rf' 'code' though really?
* Monumental stupidity.Down with racism. Long live miscegenation!Comment
-
Hmm. Windows 95. I wonder what year that was released....Originally posted by FatLazyContractor View PostWindows 95 in 1993?The greatest trick the devil ever pulled was convincing the world that he didn't existComment
-
I did once see the whole project the team had been working on for a year disappear from the Windows For Workgroups server at about 1am on one of those mad panic "get it done and uploaded to the US client or we're all out of a job" nights. Turned out one of the company directors had mis-clicked and moved the project tree into a sub-folder in File Manager.Originally posted by Hobosapien View PostThis would never have happened with Windows.
IT equivalent of the darwin awards.
Will work inside IR35. Or for food.Comment
-
Originally posted by NickFitz View Postmanually using Norton Utilities' hex sector editor. On the bright side, I learned lots about the FAT file system's internal structure in a very short amount of time
Comment
-
Quite a few years back I got a short contract to try and piece together a defence simulator from various partial backups after somebody managed to delete/corrupt the lot and there was no full working backup. Highest paid gig I ever had.
PS Rather worrying a bit of batch file can do that. Now I shall be like that Ren & Stimpy bit. I mustn't type it in, mustn't mustn't. aaaagh.
https://www.youtube.com/watch?v=ku2wFaaPAzIbloggoth
If everything isn't black and white, I say, 'Why the hell not?'
John Wayne (My guru, not to be confused with my beloved prophet Jeremy Clarkson)Comment
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- Andrew Griffith MP says Tories would reform IR35 Oct 7 00:41
- New umbrella company JSL rules: a 2026 guide for contractors Oct 5 22:50
- Top 5 contractor compliance challenges, as 2025-26 nears Oct 3 08:53
- Joint and Several Liability ‘won’t retire HMRC's naughty list’ Oct 2 05:28
- What contractors can take from the Industria Umbrella Ltd case Sep 30 23:05
- Is ‘Open To Work’ on LinkedIn due an IR35 dropdown menu? Sep 30 05:57
- IR35: Control — updated for 2025-26 Sep 28 21:28
- Can a WhatsApp message really be a contract? Sep 25 20:17
- Can a WhatsApp message really be a contract? Sep 25 08:17
- ‘Subdued’ IT contractor jobs market took third tumble in a row in August Sep 25 08:07

Comment