Is it possible to capture screen in Disk operating system and save the screen as static jpg image. Kindly give me some direction.
feedback
|
migrated from stackoverflow.com Jun 17 '10 at 0:30
This question came from our site for professional and enthusiast programmers.
|
You could use a virtual machine (for example VMWare Player or VirtualBox) and run DOS within that. Then (as it is running in a window), you could create a screenshot for that window. Other than that: I can remember that there used to be TSR ("terminate but stay resident") programs for DOS that stored the content of the screen (ASCII characters) as text files when pressing a key, but of course they could not store any colors. | |||
|
feedback
|
|
If you are using Windows you may use cmd to call a console. Then you an use the print screen funtion to create an image. Using Debian you may use a terminal and the built in screenshot functionality. But i guess you are reffering to a real command only environment. In that case you will need to have another program (TSR) to run in the background which will listen to a key combination to either print or save your screen. Doscap.exe seems to be one of those programs, but i wasn't able to find a place where you can download it. | |||
|
feedback
|
|
if you simply need to save the output of a command in a file you can simply use the ">" to redirect it
will redirect the directory listing to a text file called test.txt | |||||||||||||
feedback
|
|
Just to throw it out there for a programmatic solution - read out current screen's memory buffer, get the character map bitmap from the graphics card, get the color palette for all 32 text-mode colors, put it all together, build a graphics file using all this data and compress as .jpg. But capturing the screen from a VirtualBox machine should be probably easier. ;) | |||
|
feedback
|
|
I remember there used to be a DOS program called screenthief, perhaps look for that. | |||
|
feedback
|
|
If you are using DOS-prompt in Windows, press Alt-PrintScreen. It copies the current window (for example the DOS-prompt window) into clipboard. (The DOS-prompt must be displayed in a window, not full screen). Pressing PintScreen or Ctrl-PrintScreen copies the whole screen. You can then paste it in an image editing application such as Paint and then save as JPG (or preferably as PNG which is non-destructinve format). If you are using real MS-DOS (which was still distributed with Windows-98), you can press PrintScreen to print text screen on your default printer. To grab the text (perhaps with color) or graphical screen into a file, you need a screen capture program. Some may still be available, Google for MS-DOS screen capture. | |||
|
feedback
|
|
Just recently I needed to take screenshots in DOS and looked up some old programs I used way back when as well as some new ones. Among the best were There is also a shareware one called Grabber and another freeware one called Capture. A few things should be pointed out:
| |||
|
feedback
|
|
"Screenshots in DOS" http://www.compmiscellanea.com/en/screenshots-in-dos.htm
| |||
|
feedback
|
