HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Windows XP > Windows XP Basics

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-13-2007, 05:08 PM
Krzysztof Żelechowski
 
Posts: n/a
Default console input buffer length

The commands "COPY CON" and "Wscript.StdIn.ReadLine" accept only 254
characters in the console input buffer. Other utilities, such as FTP, have
an unlimited input buffer. DOSKEY is availabe for all; however, DOSKEY does
not have an option to limit the length of the input buffer. A vanilla C++
application that calls cin.get() has an unlimited input buffer (when compiled
and linked using Microsoft Visual C++ Express 2005, but this should hardly be
relevant).
How do I request the input buffer to be limited so that the effect will be
similar to what "COPY CON" does?
Chris
Reply With Quote
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Buffer overrun detected BH2 DVD Authoring 1 08-15-2007 02:37 AM
Buffer Cache Memory Eric Windows XP 0 07-06-2007 12:36 AM
Frame Buffer drawing duncan.perrett@elekta.com Video 0 07-05-2007 04:15 PM
buffer overrun. help. sweetpea71 Windows XP 2 04-02-2007 11:16 AM


All times are GMT. The time now is 11:34 PM.


Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger