197
win9x be like: (lemmy.sdf.org)
you are viewing a single comment's thread
view the rest of the comments
[-] konalt@lemmy.world 66 points 1 month ago

Short answer: Windows doesn't let you name a file "con".

Long answer: Tom Scott video

[-] TheTechnician27@lemmy.world 23 points 1 month ago

NTFS in general has a bunch of ridiculous, archaic restrictions that a more modern-ish one like ext4 doesn't. Does NTFS still not allow you to use a question mark in your filename?

[-] superkret@feddit.org 12 points 1 month ago

Name a file in Linux ~ and then delete it again.

[-] TheTechnician27@lemmy.world 11 points 1 month ago
[-] bizzle@lemmy.world 6 points 1 month ago

Well if you put it in like that it would give an error. But if you used the right slash you can kiss your home folder goodbye probably. Maybe rm ./~ would work

[-] Peruvian_Skies@sh.itjust.works 9 points 1 month ago* (last edited 4 weeks ago)

~ resolves to your home folder only if it's at the beginning of a path. /~ isn't the same as ~. Go ahead and test it with something other than rm if you don't believe me (this is the Internet, I could be lying).

[-] bizzle@lemmy.world 4 points 1 month ago

Hey you're right, I tried it with rm because I'm a maniac.

[-] FiskFisk33@startrek.website 8 points 1 month ago

in tab completion I trust...

[-] binomialchicken@lemmy.blahaj.zone 10 points 1 month ago

Bro you either know what the fuck is in that file, or you shouldn't be renaming it in the first place.

[-] Tlaloc_Temporal@lemmy.ca 2 points 4 weeks ago

Unnamed(7)FinalFinalThisTimePlease?

[-] konalt@lemmy.world 10 points 1 month ago

Apparently not.

[-] pyre@lemmy.world 1 points 4 weeks ago

the question mark is a wildcard, so is asterisk. slashes are used in paths. characters you can't use usually have implications for the OS. otherwise you can name your file pretty much anything.

[-] mke@lemmy.world 2 points 4 weeks ago* (last edited 3 weeks ago)

Yeah, I think it's just funny comparing it with the usual situation on Linux, where there's even less restrictions. I believe you can actually put a newline in a file name, for example, though I'll need to check and come back later.

I'd need to rename a massive amount of files if I ever wanted to go back to Windows.

P.S. yup. Generally, just avoid /, null, and you're good to go.

[-] listless@lemmy.cringecollective.io 11 points 1 month ago

If only there were a special path like, oh I don't know, /dev for device handles.

[-] Tartas1995@discuss.tchncs.de 7 points 1 month ago

Small businesses like Microsoft don't have the funding to develop such an advanced system.

this post was submitted on 19 Aug 2024
197 points (91.9% liked)

Memes

45179 readers
2187 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