I'm 'using punctuation in a filename feels wrong' years old.
@alicemcalicepants And spaces.
@piiabartos @alicemcalicepants Both are horrible crimes. ☝️
@frauxirah @piiabartos more than 8 letters, for that matter.
@alicemcalicepants @piiabartos Less keen on that one, but willing to compromise. 🤝

@alicemcalicepants @frauxirah @piiabartos

Windows still has a limit of 256 characters for a file's path (directory+name). You can create files that exceed that, but then they're inaccessible until you shorten the path.

I regularly see this in our accounting office, where they make folders with names like "Professor Joe Schmoe, August 2020 - grant numer 123456789 - provisional DO NOT USE THIS ONE version 7", nested several layers deep.

@catselbow @alicemcalicepants @piiabartos I come fresh from a horrible migration project with that exact issue. And then people complain the files wouldn't sychronise anymore. 🙄 #SendHelp 😭

@catselbow @alicemcalicepants @frauxirah @piiabartos isn't there a registry key to remove that limit?

Just 256 for the whole path sounds very restrictive

@ariarhythmic @catselbow @alicemcalicepants @frauxirah @piiabartos yes, all modern versions of Windows can support long paths, but the application interacting with the file still has to support it too, and that support has to be compiled in.

Last I looked, even Excel didn’t support this, but that’s been a few years.

@ariarhythmic @catselbow @alicemcalicepants @frauxirah @piiabartos FWIW, I love long paths, but I’m also team CamelCase, and believe that when creating directories each should be given as short a name as feasible. File names on the other hand, make them as long as you need to, but consider whether some elements shouldn’t be part of the directory structure instead.
@catselbow @alicemcalicepants @frauxirah @piiabartos well, that's one way to enforce the 'DO NOT USE THIS ONE'-part
@catselbow @alicemcalicepants @frauxirah @piiabartos set `LongPathsEnabled` and you can get up to 32k in length. If your app and all frameworks it depends on support it, of course.
@piiabartos @alicemcalicepants I pretty routinely use hyphens and underscores to avoid using spaces. Does that offend?
@maccruiskeen @piiabartos I work on webpages, so of course not 😁
@alicemcalicepants @maccruiskeen @piiabartos Just as long as you are consistent. This_is-less_ok.though.txt
@smashtie @maccruiskeen @piiabartos iunno, don't get me started on the guy who names image files image-name-width when everyone else (including myself, because you have to have a system or everything will fall apart, dammit) does image-name_widthxheight 😅
@piiabartos @alicemcalicepants mention not emojis and various accursed quotation marks
@d1 @piiabartos @alicemcalicepants I put an emoji in a filename on the server just as a test and IT came after me…. Well did it work I said. Yes, they said, but that’s not the point
@kmck @d1 @piiabartos @alicemcalicepants They weren't wrong. They see a larger context
@gtsadmin @d1 @piiabartos @alicemcalicepants I know they weren’t wrong hehe … I wouldn’t have done it on a real file!

@kmck @d1 @piiabartos @alicemcalicepants Unicode is fine, as long as you use _ in place of spaces and no dots outside the file extension  /hj

Did you know that linebreaks are possible in filenames? (possible although difficult and it may actually break something)

@slatian @piiabartos @kmck @alicemcalicepants I've actually set up an automated nightly detox on a fileserver, because the punks of the world can't be convinced otherwise
@kmck @d1 @piiabartos @alicemcalicepants For real fun, put U+202E in filenames.
@mathew @kmck @piiabartos @alicemcalicepants It should be added to a Satanic ritual
@alicemcalicepants At least you don't worry about using more than eight characters, do you 😂
@alicemcalicepants I am "the 8.3 filename structure" old.
@alicemcalicepants I'm 'filenames are 8.3 alphanumerical characters' years old.

@RandamuMaki @alicemcalicepants
I think we have the basis of an age verification system we can all get behind, here.

#fileSystems #ageVarification #socialMedia

@doboprobodyne @RandamuMaki @alicemcalicepants Ah the times where I had a read me file so i knew what is actually in the file :)
@alicemcalicepants That reminds me of the time BNR up here connected their unix machine to their macs and ended up with '/' in the actual filenames.
@DianeBruce @alicemcalicepants More than 26 years ago? BTW if you really want to mess with people on Unix like systems put newlines in the filenames.
@grumpyoldtechie @alicemcalicepants fsdb to the rescue. Of course this was way before ZFS etc. Yes it really messes up a Unix fs!
@alicemcalicepants filenames? If you load your whole system from punch cards or that new-fangled paper tape you don't need no steenking filenames
@alicemcalicepants I'm 'why are files identified by their suffixes and not by their content' years old.
@alicemcalicepants
I'm "RAD50 is a neat way to get 3 characters into a 16-bit word" old.
( 3 chars is plenty for a file type )
@alicemcalicepants no point in using those fancy pants FAT16 filenames if your batch files are just going to need to guess how they'll be presented to DOS. Bad enough that it's moved all my files to C:\docume~1\
@alicemcalicepants I’m ‘wtf are these spaces’ yrs old.
@alicemcalicepants I’m also, jokes aside, old enough to miss how vms automatically kept old versions of files.
@alicemcalicepants Why do I feel like I should underscore this?..
@alicemcalicepants unless it's underscore. Also no spaces; you camel that text
@alicemcalicepants I'm still a little nervous using slashes in filenames with Linux.
@alicemcalicepants The first time I used a Windows computer was when I had a temp job in a carpet company’s corporate office. Before then, I’d only ever used Apples and DOS. I was new to the 8.3 file name structure. I used those 3 letters to show the name of the person I created the document for & thought I was so clever.
@alicemcalicepants When Windows asked me what program should open .ABC files, I told it the program I used to create the document. I feel sorry for whoever had to use that computer after I left.
@alicemcalicepants @rk I still don’t do it.
@octothorpe @rk me neither! The thought was sparked this morning when I created a folder for the new Death Lens album 'What's Left Now' but couldn't bring myself to put the apostrophe in 😁
@alicemcalicepants @rk And I’ve been using macs since 85, where it’s always been ‘ok’, but I’ve also always had to deal with DOS/Windows stuff so I always backed away.

@alicemcalicepants THIS PROGRAMMING LANGUAGE SUPPORTS EMOJIS XD

Straight to jail

@alicemcalicepants I'm "capitalization in filenames doesn't matter" years old.
@bit @alicemcalicepants tbf I'm pretty sure most Windows installs still treat filename.txt and FILENAME.txt as the same file.
@alicemcalicepants
I'm "more than eight characters in a filename feels wrong" years old.
@alicemcalicepants I'm only in my 20s but I will die on the hill that slashes and spaces in filenames are unacceptable
@alicemcalicepants
All lower case, dashes if essential, that's it.
@alicemcalicepants Who remembers the #DOS prompt and only being able to run one program at a time. Thought we were Up Town when we loaded a menu program that ran on start-up.