Thread: A quick question about notepad.

  1. #1
    Registered User Lawn Gnomusrex's Avatar
    Join Date
    Oct 2008
    Leading lawn gnomes on the path to world domination! ;o)

    Cool A quick question about notepad.

    Hey, everybody!

    I have a really quick question: is there any limit to the size of a text file that notepad can open, other than RAM?

    I think everything below XP had something like a 32Kb limit, but I can't find anything that says if there is a limit on vista, and if so, what it is set to.

    Anyways, peace!

    -Lawn gnomusrex
    (I have a program that is going to end up creating huge text files, and I was just wondering about how large each file could be before opening and writing to a new one.)
    Last edited by Lawn Gnomusrex; 11-05-2008 at 06:28 PM.

  2. #2
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    There is no limit to the size fo text files, btu notepad may only be able to open a 2gb file, the per process limit. There are text editors out there that can open larger files because they only open teh portion you are viewing/editing.

  3. #3
    Registered User Lawn Gnomusrex's Avatar
    Join Date
    Oct 2008
    Leading lawn gnomes on the path to world domination! ;o)
    Alright, thank you!

  4. #4
    Jack of many languages Dino's Avatar
    Join Date
    Nov 2007
    Katy, Texas
    I tried opening a 12mb txt file in notepad the other day and finally had to cancel the "not responding" process.
    Mac and Windows cross platform programmer. Ruby lover.

    Quote of the Day
    12/20: Mario F.:I never was, am not, and never will be, one to shut up in the face of something I think is fundamentally wrong.

    Amen brother!

  5. #5
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    > There is no limit to the size fo text files
    Actually, the file-system does have a limit for the size of files. Although this limit is huge, you would not be able to juggle a file that big in memory/disk :-)

  6. #6
    Registered User
    Join Date
    Mar 2005
    Mountaintop, Pa
    It may posssibly depend on available ram. Notepad issue

  7. #7
    Join Date
    Oct 2007
    Inside my computer
    Notepad is known to be inefficient to open large files, as well. You should use another editor to do that. Small files are fine.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  8. #8
    Registered User
    Join Date
    Aug 2008
    Belgrade, Serbia
    Notepad2 opens files in a flash rather than the ordinary Notepad.
    Vanity of vanities, saith the Preacher, vanity of vanities; all is vanity.
    What profit hath a man of all his labour which he taketh under the sun?
    All the rivers run into the sea; yet the sea is not full; unto the place from whence the rivers come, thither they return again.
    For in much wisdom is much grief: and he that increaseth knowledge increaseth sorrow.

  9. #9
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    This sounds more like a Tech Board question than a Windows programming question, so I am moving this thread to the Tech Board.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Very quick math question
    By jverkoey in forum A Brief History of
    Replies: 8
    Last Post: 10-26-2005, 11:05 PM
  2. very quick question.
    By Unregistered in forum C++ Programming
    Replies: 7
    Last Post: 07-24-2002, 03:48 AM
  3. quick question
    By Unregistered in forum C++ Programming
    Replies: 5
    Last Post: 07-22-2002, 04:44 AM
  4. Quick Question Regarding Pointers
    By charash in forum C++ Programming
    Replies: 4
    Last Post: 05-04-2002, 11:04 AM
  5. Quick question: exit();
    By Cheeze-It in forum C Programming
    Replies: 6
    Last Post: 08-15-2001, 05:46 PM

Tags for this Thread