3 ms·
Microsoft engineers rewrote the notepad.exe app. You can load a 10GB text file. Something you can’t do in almost any other text editor.
by yardie 5y ago
Microsoft engineers rewrote the notepad.exe app. You can load a 10GB text file. Something you can’t do in almost any other text editor.
- MauranKilom 5y agoI just tried opening a 10 GB zip file in notepad.exe and it told me it can't open files this large. And then a second message box "Operation completed successfully." (lol). How can I tell whether I have the rewritten version? (It also hangs on opening a 500 MB file, too. Version dialog just gives me my Win10 version.)
- capableweb 5y agoyardie said text file, not binary files. Not sure what text editor doesn't bark at a 10GB binary file. Probably Sublime would be alone in handling it, but don't have it in front of me right now to test.
- tokai 5y ago>text file, not binary files there is a difference?
- capableweb 5y agoFor most intents and purposes, yes.
- im3w1l 5y agoSome editors choke on long lines. A binary file can have long stretches without newline.
- unicodepepper 5y agoA text file only contains data that represents characters on the screen, while “binary file” is used to refer to any other file that isn’t meant to be viewed or edited as text. If you open a (small) image file with notepad you will see a lot of gibberish. This is what happens when you try to view a binary (in other words, non-text) file as text.
- MauranKilom 5y agoHow do you distinguish a text file from a binary file? It's just bytes. But for the sake of it, I created a 10 GB .txt file containing the same ASCII-only line repeated 100 million times. Unsurprisingly, notepad.exe still says the file is too large. And it also hangs with a 1 GB version.
- jansan 5y agoDoes it support more than one undo step now?
- frogger8 5y agoSource? Disclosure I work at soft-micro
- yardie 5y agoPresenter at the last in-person MS Ignite (so, 2019?). He mentioned to the audience they rewrote Notepad.exe and showed the memory usage of NP++ and Notepad.exe while opening a 10GB CSV. But if you're saying it's not included in Windows 10 it might be a sysinternals branch.
- frogger8 5y agoI will look into it when I am back next week. Thanks!
- banana_giraffe 5y agoNotepad, at least the version included in Windows 11 on an up to date install, refuses to open any text file bigger than 1,073,741,823 bytes. The error is cute: > The test_1073741824_bytes.txt file is too large for Notepad. > Use another editor to edit the file. followed by: > The operation completed successfully.