Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Running DOS program in Windows 7

28 Jul 2011   #1

Windows 7 Professional 32-bit
 
 
Running DOS program in Windows 7

HI,
I am trying to run a DOS .bat file in windows 7. It runs the program if I use XP compatability mode but it will not use the whole screen. I get a small window on the screen even when I choose the maximise option. How can I change this please?

My System SpecsSystem Spec
.

28 Jul 2011   #2

Windows 7 Home Premium 32 bit
 
 

It's impossible to do this in windows 7.

This is a solution for getting it maximized:

* Click Start and type CMD, but don't hit enter or click on cmd.exe.
* Right-click cmd.exe above and choose Run as administrator.
* Respond to the UAC prompt.
* In the command prompt enter WMIC--you'll get a different prompt for Windows Management Instrumentation Control (but you're not going to actually DO anything with WMI).
* Click the normal maximize button at top right. The Command Prompt window will fill the screen.
* Enter EXIT to exit WMIC.
* Right-click the Command Prompt's title bar, choose Properties, click OK.
* Enter EXIT to exit the Command Prompt.

If you want to change back;

* Right-click its and choose Properties.
* Click the Layout tab
* Set Screen Buffer Size's Width to 80
* Set Window Size Width to 80
* Set Window Size Height to 25
* Click OK

At the library where I work, we got new computer's with 7. It took a week to install XP on them to use or database software (also a DOS-program that works better in full screen).
Sorry mate!

Martin



EDIT:
Go to desktop
Right click on my computer
Click on manage
Click on device manager
See Display adaptors
Click it to show you your card info
Right click on you card info and Disable it (NOTE: this will disable your Aero Windows)
Prompt yes/no: click on yes
Go to start and cmd
Press alt+enter.

Full Screen CMD!
My System SpecsSystem Spec
28 Jul 2011   #3

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

If you don't want to use the above approach you can modify the window size by clicking on the icon in the top left corner and selecting properties. Th dialoge will allow you to change the font size. You wont get full screen but by playing around you can get a large window. You can also do this by selecting properties on a shortcut. You may also need to play around with the layout tab.

Running DOS program in Windows 7-capture.jpg

Name:  Capture1.JPG
Views: 16
Size:  41.8 KB


My System SpecsSystem Spec
.


28 Jul 2011   #4

Windows 8 Core X64
 
 

You can simulate full screen by creating a link to the batch file on the desktop then right clicking on it and opening properties.

On the General tab, set Run to Maximized.
On the Layout tab, increase the Window size Width and Height setting so the windows fills the screen.

Now when you double click on the bath file link, it will open and occupy the entire screen.

I just tried this and it works for my.

Edit: The drawback is the actual used space is still what it would be if the window did not occupy the full screen, so I guess this is not a real answer.
My System SpecsSystem Spec
28 Jul 2011   #5

Windows 7 Home Premium 32 bit
 
 

Quote   Quote: Originally Posted by Ztruker View Post
You can simulate full screen by creating a link to the batch file on the desktop then right clicking on it and opening properties.

On the General tab, set Run to Maximized.
On the Layout tab, increase the Window size Width and Height setting so the windows fills the screen.

Now when you double click on the bath file link, it will open and occupy the entire screen.

I just tried this and it works for my.

Edit: The drawback is the actual used space is still what it would be if the window did not occupy the full screen, so I guess this is not a real answer.

Yeah, but how do you open things with that shortcut then?
My System SpecsSystem Spec
28 Jul 2011   #6

Windows 8 Core X64
 
 

??? Don't understand your question.

The link points to the .bat file so when you click it, the bat files launches in a Command Prompt window.

Maybe a combination of what kado897 and what I suggested would work for you.

There may even be an program you can download that will allow this. Perhaps Classic Shell will allow full screen for Command Prompt windows.
My System SpecsSystem Spec
29 Jul 2011   #7

Windows 7 Home Premium 32 bit
 
 

Quote   Quote: Originally Posted by Ztruker View Post
??? Don't understand your question.

The link points to the .bat file so when you click it, the bat files launches in a Command Prompt window.

Maybe a combination of what kado897 and what I suggested would work for you.

There may even be an program you can download that will allow this. Perhaps Classic Shell will allow full screen for Command Prompt windows.
Ah sorry, I get it now You can also drag the .bat file from your explorer to the link on your desktop, it will open that way.
My System SpecsSystem Spec
29 Jul 2011   #8

Windows 8.1 Pro RTM x64
 
 

Quote   Quote: Originally Posted by KGMRW View Post
HI,
I am trying to run a DOS .bat file in windows 7. It runs the program if I use XP compatability mode but it will not use the whole screen. I get a small window on the screen even when I choose the maximise option. How can I change this please?
Hi KGMRW and welcome to Windows 7 Forums

Can you post the code of this batch file?
My System SpecsSystem Spec
Reply

 Running DOS program in Windows 7




Thread Tools



Similar help and support threads for2: Running DOS program in Windows 7
Thread Forum
Solved Windows 7 Running Very Slow After Uninstalling A Program General Discussion
Solved BSOD whenever i'm running any program BSOD Help and Support
Program running Software
Program Not Running Software
New instance of a currently running program Software
Problem running MS Windows Program General Discussion
Running a program in either OS. Software

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 03:27 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33