I want to resize the command prompt window in a batch file, is it possible to set a height and width through something I can just add in the batch file?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Modify cmd.exe properties using the command prompt Pretty much has what you’re asking for. More on the topic,
mode con: cols=160 lines=78should achieve what you want.Change 160 and 78 to your values.