this post was submitted on 06 Oct 2026
108 points (98.2% liked)

Technology

88677 readers
4136 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 3 years ago
MODERATORS
top 18 comments
sorted by: hot top controversial new old
[–] Zwuzelmaus@feddit.org 61 points 3 days ago (2 children)

Windows can still create an additional short 8.3 alias for a long file name.

O.m.g.

They should have removed this ancient handbrake long ago. Now I learn that it not just still exists, but is also still engaged by default.

[–] mkwt@lemmy.world 56 points 3 days ago (5 children)

Okay. Now go to File Explorer and right click to create a new text file and try to name it "con". That's three letters: con. You can't do it. Not allowed. Because CON has been reserved (in every directory on every drive) for piping to and from console since MS-DOS 2 or so. (I think 2 is when they stole pipes from Unix)

Okay. Now, open just about any kind of desktop window and double click in its upper left corner. In > 9 windows out of 10 that action still closes the window even though the "close window" button was moved to the upper right corner by Windows 3. Even though a bunch of modern applications don't even have any icon there at all any more.

[–] hayvan@piefed.world 22 points 3 days ago (1 children)

Other DOS reserved names include PRN, LPT1, LPT2...

copy file.txt prn was an interesting shortcut for printing things 35 years ago.

[–] cmnybo@discuss.tchncs.de 13 points 3 days ago

copy file.txt prn was an interesting shortcut for printing things 35 years ago.

The Linux equivalent of that is cat file.txt > /dev/lp0. It still works if you have a parallel port printer that accepts plain text.

[–] fprefect@lemmy.ml 9 points 3 days ago

"aux" is the same. And file ending doesn't matter. Short version: I had this fun experience a few years back. I used cygwin and Vim for coding and used some old compiler for embedded systems. I created a file called "aux.c" in cygwin. No problem. I compiled my code. Got very strange error. Trouble shooted, tested a bunch of things. Wasted lots of hours before I figured out that "aux" was reserved on one abstraction later but not on another, so Vim/cygwin could access it. My dos compiler couldn't. Fun times.

[–] pHr34kY@lemmy.world 10 points 3 days ago (2 children)

I still double-click the left corner every now and then. I've found myself using CTRL+INS and Shift+INS lately because CTRL+C/V keeps giving me very inconsistent results. Particularly in terminals. I remember using the the same hotkeys in MS-DOS editor.

[–] Zealotte@lemmy.zip 8 points 3 days ago

This is how I get around an application at work that prevents copying and pasting with CTRL+C/V. I was surprised to find that it worked.

[–] palordrolap@fedia.io 2 points 3 days ago

Ctrl+C and Ctrl+V for copy and paste come from non-Unix (I'd say Windows itself, but they may have stolen it from elsewhere), and so it makes sense that those two keys have other special meanings under Unix and its descendants.

Specifically, they mean "Stop what you're doing" and "The next character is to be entered without special meaning" in most shells, the most common programs that run, often as the main program, in/on a terminal.

As such, most terminal emulators in Linux GUIs reserve those keypresses for their Unix-y functions. Most of the good ones move copy and paste to Ctrl+Shift+C and Ctrl+Shift+V instead.

MS-DOS and Windows command prompts also inherit their use of Ctrl+C from Unix, by way of 86-DOS and CP/M, and were in there long before Microsoft adopted Ctrl+C for copy in a GUI, which is where those other Insert-based keybinds you mention came in.

For an example of Unix Ctrl+V, try echo hello[Ctrl+V][Ctrl+H]world in a Linux terminal shell and press Enter. You'll see the command as echo hello^Hworld and when you press Enter, it will display hellworld, because that embedded Ctrl+H is a backspace.

[–] Rubanski@discuss.tchncs.de 3 points 3 days ago

I tried the upper left corner, but it doesn't work

[–] Strider@lemmy.world 1 points 3 days ago (3 children)

What if I create the file con in wsl, will it also not be allowed?

[–] DeadDigger@lemmy.zip 8 points 3 days ago* (last edited 3 days ago)

You can create them under Linux but this possible breaks windows

Never under any circumstances especially if you want to have some free time or petty revenge create such a file on a company wide shared drive

[–] elvith@feddit.org 4 points 3 days ago (1 children)
[–] Strider@lemmy.world 1 points 3 days ago (1 children)

I think it's likely it just won't work either but I don't want to break anything on a work machine 😁

[–] elvith@feddit.org 1 points 3 days ago

Just say you wanted to run echo "someField=someValue" > .conf but made a typo in the target filename or so 😜

[–] pHr34kY@lemmy.world 3 points 3 days ago

If you do manage to create it, you'll have trouble accessing or deleting it.

[–] HaraldvonBlauzahn@feddit.org 2 points 3 days ago

Try to save a file to "PRN".

[–] schipelblorp@sh.itjust.works 24 points 3 days ago

Dang. I read more about how not to use Windows than I do about how to use the actual Linux I run.

[–] CompactFlax@discuss.tchncs.de 17 points 3 days ago* (last edited 3 days ago)

Disabling 8.3 filename creation has been a recommendation in the Best Practices Analyser since Server 2008. https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/ff633453(v=ws.10)?redirectedfrom=MSDN

I had a GPO to disable it corp wide back then and didn’t have any reports of issues.