क्या आप विंडोज कमांड प्रॉम्प्ट में आउटपुट बफर आकार बदल सकते हैं?

विषयसूची:

क्या आप विंडोज कमांड प्रॉम्प्ट में आउटपुट बफर आकार बदल सकते हैं?
क्या आप विंडोज कमांड प्रॉम्प्ट में आउटपुट बफर आकार बदल सकते हैं?

वीडियो: क्या आप विंडोज कमांड प्रॉम्प्ट में आउटपुट बफर आकार बदल सकते हैं?

वीडियो: क्या आप विंडोज कमांड प्रॉम्प्ट में आउटपुट बफर आकार बदल सकते हैं?
वीडियो: How to put your your city's weather on your apple watch face - YouTube 2024, मई
Anonim
यदि आप ऐसे व्यक्ति हैं जो विंडोज कमांड प्रॉम्प्ट का उपयोग करना पसंद करते हैं, तो आपको खुद को उत्सुकता हो सकती है कि स्क्रीन आउटपुट बफर में इतना बड़ा 'डिफ़ॉल्ट' डिफ़ॉल्ट आकार क्यों है। क्या आप इसे एक छोटे (या यहां तक कि बड़े) आकार में बदल सकते हैं? आज के सुपर यूज़र क्यू एंड ए पोस्ट में जवाब हैं।
यदि आप ऐसे व्यक्ति हैं जो विंडोज कमांड प्रॉम्प्ट का उपयोग करना पसंद करते हैं, तो आपको खुद को उत्सुकता हो सकती है कि स्क्रीन आउटपुट बफर में इतना बड़ा 'डिफ़ॉल्ट' डिफ़ॉल्ट आकार क्यों है। क्या आप इसे एक छोटे (या यहां तक कि बड़े) आकार में बदल सकते हैं? आज के सुपर यूज़र क्यू एंड ए पोस्ट में जवाब हैं।

आज का प्रश्न और उत्तर सत्र हमारे पास सुपरयूसर की सौजन्य है - स्टैक एक्सचेंज का एक उपविभाग, क्यू एंड ए वेब साइट्स का एक समुदाय संचालित समूह।

प्रश्न

सुपर यूज़र रीडर जय जानना चाहता है कि क्यों डिफ़ॉल्ट विंडोज कमांड प्रॉम्प्ट आउटपुट बफर आकार इतना बड़ा है:

I have been using the Command Prompt in Windows for a while now and just realized that there are several pages worth of empty lines below the text entry prompt. Why is that?

डिफ़ॉल्ट विंडोज कमांड प्रॉम्प्ट आउटपुट बफर आकार इतना बड़ा क्यों है? क्या इसका आकार बदला जा सकता है?

उत्तर

सुपरयूसर योगदानकर्ता स्टीवन और मिल्टनब के पास हमारे लिए जवाब है। सबसे पहले, स्टीवन:

The “empty lines” are the rows of screen buffer that have not been filled with output yet. To change the screen buffer size from the default of 300 lines (Microsoft’s chosen default), perform the following steps:

  1. Open the Windows Command Prompt
  2. Right-click on the application’s icon in the upper left corner of the window
  3. Click on Properties in the drop down menu
  4. Select the Layout Tab
  5. Set the Screen Buffer Size (Height Listing) to 20
  6. Click OK

Note: I recommend reverting the buffer size to something larger since 20 lines is not much in the way of displayed output.

मिल्टनब से जवाब का पालन करें:

I know that this is not the “why” with regard to your question, but if you want to change the screen buffer size from within a Command Prompt window (or batch file), you can make use of the mode command (mode columns, lines). I regularly use this from within the command prompt:

mode 200, 300

स्पष्टीकरण में जोड़ने के लिए कुछ है? टिप्पणियों में विचार व्यक्त करो। अन्य तकनीक-समझदार स्टैक एक्सचेंज उपयोगकर्ताओं से अधिक उत्तरों पढ़ना चाहते हैं? यहां पूर्ण चर्चा धागा देखें।

सिफारिश की: