Solved

Display PCX file on Dos Screen

Posted on 2004-04-23
5
298 Views
Last Modified: 2008-02-07
Does anyone know how to display a PCX file in a  Dos Window?
Any alternative format that can be displayed in dos? How do I it?
0
Comment
Question by:vico1
  • 2
  • 2
5 Comments
 
LVL 67

Assisted Solution

by:sirbounty
sirbounty earned 25 total points
ID: 10905842
0
 
LVL 15

Author Comment

by:vico1
ID: 10913978
Sorry It took so long Sirbounty
I have checked your links
But I could not really find a way to display a PCX file. May be the following explanation will Help:

I need to display a pcx file (logo.pcx) from a Batch file something like

@echo off
display logo.pcx (for a few seconds)
:Begin
My codes
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 10914396
Hmm...for something like that, I think you'll have to find a suitable viewer(like Quick View) and then write your script like this (with PSKill from PSTools -http://www.sysinternals.com/ntw2k/freeware/pskill.shtml)

@echo off
Quickview logo.pcx
sleep 300
pskill Quickview
:Begin
::your code
0
 
LVL 3

Accepted Solution

by:
Beluga earned 25 total points
ID: 11016052
Another way to tackle the problem is to use a slideshow program instead of an image viewer. These are normally used for displaying a succession of images at pre-defined intervals. Of course, you'll only have one image in your slideshow, but the program will allow you to clear the screen after a certain number of seconds.

One example:
ftp://ftp.eunet.bg/pub/simtelnet/msdos/graphics/pcxshow3.zip

The above needs a script file writing (plain text), but after briefly reading through the manual, something like the following should work (untested):

LOAD image.pcx 1
SEND 1
DELAY 3
CLR 1

Line 1 loads image.pcx into memory
Line 2 copies this into video memory
Line 3 pauses for 3 seconds
Line 4 clears the screen

... in theory ;o)  I can't test this at the moment, but the script should be pretty close to that.

There are other slideshow programs in:
ftp://ftp.eunet.bg/pub/simtelnet/msdos/graphics
 ... in case the one above doesn't work for you.

(thanks to sirbounty for reminding me about Simtelnet - another good DOS archive is at www.leo.org, but seems to be having problems this afternoon).

Beluga
0
 
LVL 15

Author Comment

by:vico1
ID: 11039718
Sorry It took so long.

The above solution seems to work, however pcxsho.exe is a trialware.
I would prefer something that I do not have to buy, just in case it does not work the way that would expect it to.
If there is any other solutions I am open for suggestion.

Thanks to Sirbounty and Beluga

Vico1
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
Being a system administrator some time we require to do things remotely, one of them is installing software. Here I am going to tell you how to install software through wmic (Windows management instrument console). I am not at all saying that this i…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now