Running Dos Program Full-screen in Windows 7

Status
Not open for further replies.
G

Guest

Guest
Hello Community,

I have a dos program I am trying to run full-screen. It does not want to run in full-screen in Windows 7, if I LAlt Enter it actually states that this system does not support full-screen mode.

This is how the program appears to me:

There's a windows shortcut to a "P.BAT" file that under properties has the following tabs and values:

Shortcut Tab
Target Location: H:\
Target: H:\P.BAT
Start in: H:\
Shortcut Key: None
Run: Normal Window

Font Tab
Windows Preview Size: 10x20
Fonts: Raster Fonts

Layout Tab
Screen buffer size
Width: 80
Height: 300
Windows size
Width: 80
Height: 25



Then there's a "P.BAT" file that is in a mapped network drive called "(PIGS) H:" that contains the following:

echo off
cd \pigs
runlob pbselect.lob C=CONFIG.LOB
cd \
if exist c:\bat\menu.txt menu


I have used Dosbox in the past to run a different program that has an .exe that launches a dos program in fullscreen that is incompatible with Windows 7's cmd.exe .

How would I go about running this Dos program since there is no .exe ?

Would I do something like this?

Z:\>mount h h:\
Z:\>h:\
H:\>

Now what?


 
Solution
If you disable the video card, you can get the DOS window to go full screen. Of course you need to enable it again if you want to run any Windows programs properly. Disable video card, hit Alt Enter in the CMD windows, should go full screen.
G

Guest

Guest


Ok so disabling the integrated Intel Graphics will not make the screen go blank? It will just act like there's no drivers installed?
 


Right, it will show you a screen, just running on basic drivers.
 
G

Guest

Guest


Thank you, it worked. After disabling the GPU drivers a "Full-Screen" option appeared in the P.Bat shortcut. I enabled it and now the program launches full-screen. However, if I forget to disable the GPU drivers before opening the P.Bat DOS program with full-screen toggled I am able to enter it full-screen, use it, but upon exiting I cannot return to the Windows Desktop and I am left with a black distorted screen which requires me to reboot.

I created two .bat files using Devcon.exe and my GPU's Hardware ID that enable and disable the GPU drivers from the desktop to simplify and speed up things. Is there a way to take all three batch files and make them function together as one single batchfile/executable?

I would like one .bat or executable to do the following:

1) Disable the GPU driver with DisableGPU.bat:
start devcon disable *01621849&REV_09\3&11583659&0&10

2) Run PIGS with P.bat:
echo off
cd \pigs
runlob pbselect.lob C=CONFIG.LOB
cd \
if exist c:\bat\menu.txt menu


3) Enable the GPU with EnableGPU.bat on Exit of P.Bat:
start devcon enable *01621849&REV_09\3&11583659&0&10

I remember reading that there's a call/calling function for opening batch files within each other.

I would just like to one-click this whole process so that other employees don't have to worry about the order.

Thanks again,
 
G

Guest

Guest


I ended up creating the following batch file:

devcon disable *01621849&REV_09\3&11583659&0&10
H:\
P.Bat
devcon enable *01621849&REV_09\3&11583659&0&10


I then went online and converted the .bat to .exe.

I was happy to see it disable my GPU drivers, launch the dos program and upon exit it enabled my GPU drivers. Alt-Enter worked great for entering full-screen and window mode. Now I'm off to try and white-list Devcon.exe so I can remove all the UAC prompts.

Thank you!
 
Status
Not open for further replies.