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

Memes

45287 readers
2089 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
503
Windows vs Linux (i.imgflip.com)
submitted 1 year ago* (last edited 1 year ago) by RobotDaniel@lemm.ee to c/memes@lemmy.ml
 
you are viewing a single comment's thread
view the rest of the comments
[–] argv_minus_one@beehaw.org 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.

[–] dingus@lemmy.ml 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.

[–] argv_minus_one@beehaw.org 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.