this post was submitted on 18 Aug 2023
502 points (90.2% liked)

Memes

45690 readers
1605 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
502
Windows vs Linux (i.imgflip.com)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 23 points 1 year ago* (last edited 1 year ago) (2 children)

Story time: In 1994 my friends dad still had a PC running DOS/Windows 3.1

My friend and I had been downloading pron clips from a local BBS that were all in a *.dl file format.

My friend got anxious his father would find the porn and he would get in trouble, so in a command line for DOS, he typed:

C:\> del *.dl

Which the computer read as del *.dl* which meant within seconds it was deleting every Dynamic Link Library on the PC, and in short order it crashed and then would not boot.

So yes, especially in older Windows systems, you could delete all kinds of shit to bork it.

[–] [email protected] 21 points 1 year ago (1 children)

I just tried this in an MS-DOS + Windows 3.1 virtual machine that I have, and no, that doesn't happen. del *.dl does exactly what you'd expect.

  • del *.dl does not delete DLL files. Your friend probably accidentally pressed the L key twice.
  • del *.dl does not delete anything in any folder other than the current one. Your friend probably stored his porn in the C:\WINDOWS\SYSTEM folder or something.
  • I don't think there even is a built-in way in MS-DOS to delete files matching a pattern across multiple folders. You can delete files in a single folder matching a pattern (del), or you can delete a folder and all of its contents (deltree), but neither of those does what you're talking about.
  • Deleting DLLs stops Windows from starting, but doesn't stop MS-DOS from booting. MS-DOS doesn't have any DLLs to delete.
  • MS-DOS isn't even capable of loading DLLs at all. If you were writing an MS-DOS program and you wanted to link code dynamically, you had to bring your own dynamic linker to do it with. Fun times.

You're right that it doesn't stop you from deleting system files, though, which is kind of odd as MS-DOS does have a mechanism for stopping you from doing that: the “system” attribute. This is used to protect the MS-DOS kernel files, IO.SYS and MSDOS.SYS. For whatever reason, though, the Windows installer doesn't give the Windows system files this attribute, so you can still see them and delete them at will.

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (1 children)

Your friend probably accidentally pressed the L key twice

That's probably what he did and I don't know why he would store his porn in the system folder, but it did genuinely bork the computer and his dad was pretty pissed, because his dad was a banker and all his work was on it.

I never tested it myself partially because I didn't want to kill my system and well, my parents had a Mac.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

Well, that's the nice thing about virtual machines! 😁 You can copy them and bork them freely.

In case you feel like experimenting, WinWorld has installation disk images for most of Apple's and Microsoft's vintage operating systems.

[–] [email protected] 11 points 1 year ago

Task failed successfully