You are viewing a single thread.
View all comments View context
66 points

Short answer: Windows doesn’t let you name a file “con”.

Long answer: Tom Scott video

permalink
report
parent
reply
23 points

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?

permalink
report
parent
reply
12 points

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

permalink
report
parent
reply
11 points

rm \~?

permalink
report
parent
reply
8 points

in tab completion I trust…

permalink
report
parent
reply
10 points

Apparently not.

permalink
report
parent
reply
10 points

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

permalink
report
parent
reply
2 points

Unnamed(7)FinalFinalThisTimePlease?

permalink
report
parent
reply
1 point

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.

permalink
report
parent
reply
2 points
*

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.

permalink
report
parent
reply
11 points

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

permalink
report
parent
reply
7 points

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

permalink
report
parent
reply

Memes

!memes@lemmy.ml

Create post

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.

Community stats

  • 8K

    Monthly active users

  • 13K

    Posts

  • 288K

    Comments