Why is the DOS path length 260 bytes?

  Рет қаралды 2,040

Microsoft Developer

Microsoft Developer

Ай бұрын

Larry Oosterman takes us waaaaay back in today's #OneDevQuestion - and he explores why the DOS path length was set to 260 bytes.
If you missed any of the previous history lessons from Larry, you can find the playlist here: msft.it/6058Yn6HO

Пікірлер: 13
@SamSmithNZ
@SamSmithNZ Ай бұрын
More Oosterman stories! What a treat.
Ай бұрын
That's a nice format. Talking about historical facts like these. Btw, it would be nice if you fixed the limitation in Windows Explorer for systems like NTFS.
@randomjimmystuff9862
@randomjimmystuff9862 Ай бұрын
Love this!!
@petropzqi
@petropzqi Ай бұрын
Just run onto this problem, even though I have all my solutions at c/development.
@JorgeEscobarMX
@JorgeEscobarMX Ай бұрын
WAIT WHAT!!! The video just ended like that! I thought he was going to say that they actually fixed it.
@Putersdcat
@Putersdcat Ай бұрын
The background is that Microsoft strives for backwards compatibility in its operating systems from 40 years ago until today. Not saying you can execute native 16bit apps on Win11 out of the box, but the pathways are there if you have an MSDN account 🎉
Ай бұрын
They did. Starting with Windows NT the OS supports 32767 UTF-16 code-points long paths, but you need to use special prefix, otherwise backwards compatibility keeps the limit of 260 characters. Starting with Windows 10 version 1607 the application can opt-out of that backward compatibility and use 32K long paths freely.
@LarryOsterman
@LarryOsterman Ай бұрын
As others have mentioned, Windows has the ability to bypass the 260-byte limit. But it's not enough for the operating system to add new functionality. The core challenge is getting the ecosystem updated, because it requires special considerations for applications. Even though Windows has had the ability to bypass the 260-byte limit for years (decades?), applications are slow to react. A large part of the reason for this is that application developers often target versions of Windows like Windows XP and Windows 2000, and those operating systems don't have many of the nice features that are added in newer versions. And maintaining applications that can work on both old and new operating systems is made easier by just targeting the API surface of the old version of the operating system. And the problem is pervasive. There are even many Microsoft applications that don't yet fully support long filenames.
@LarryOsterman
@LarryOsterman Ай бұрын
Oh, and to be fair, I was just thinking about answering the question as asked, and not including a forward looking addendum - that was an oversight on my part, I should have included it.
@RoboticEmotion
@RoboticEmotion Ай бұрын
Cool story. So, let's fix it?!
Ай бұрын
It's been fixed for 8 years. In the OS that is. If apps still hardcode 260 then that's their problem.
@maxmuster7003
@maxmuster7003 29 күн бұрын
In 260 bytes we can put a lot instructions of mashine code.😂 Who need a path?
@sonulohani
@sonulohani Ай бұрын
Lol and they still have it right now... What a joke
"Highly Technical Talk" with Hanselman and Toub | BRK194
46:11
Microsoft Developer
Рет қаралды 30 М.
What is Apache Iceberg?
12:54
IBM Technology
Рет қаралды 13 М.
Универ. 13 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:07:11
Комедии 2023
Рет қаралды 3,7 МЛН
Watermelon Cat?! 🙀 #cat #cute #kitten
00:56
Stocat
Рет қаралды 23 МЛН
When Steve And His Dog Don'T Give Away To Each Other 😂️
00:21
BigSchool
Рет қаралды 16 МЛН
Linux File System Explained!
5:16
ByteByteGo
Рет қаралды 170 М.
Top 10 Linux Job Interview Questions
16:04
tutoriaLinux
Рет қаралды 2,3 МЛН
Why I Quit the Scrum Alliance
7:58
The Passionate Programmer
Рет қаралды 7 М.
Inside AI Security with Mark Russinovich | BRK227
47:17
Microsoft Developer
Рет қаралды 5 М.
10 Things to Know Before Getting Into IT | Information Technology
9:30
Destin Learning
Рет қаралды 399 М.
How to set up RAG - Retrieval Augmented Generation (demo)
19:52
Don Woodlock
Рет қаралды 12 М.
Microservices explained - the What, Why and How?
18:30
TechWorld with Nana
Рет қаралды 808 М.
Inside Microsoft AI innovation with Mark Russinovich | BRK256
56:48
Microsoft Developer
Рет қаралды 16 М.
What is LangChain?
8:08
IBM Technology
Рет қаралды 144 М.
i like you subscriber ♥️♥️ #trending #iphone #apple #iphonefold
0:14
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 717 М.