A non programming-DOS question.

This is a discussion on A non programming-DOS question. within the A Brief History of Cprogramming.com forums, part of the Community Boards category; now in dos you can use echo to print text to the screen in the window or in a batch ...

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    83

    A non programming-DOS question.

    now in dos you can use echo to print text to the screen in the window or in a batch file...can you use it/or is there another way to display a picture(.bmp, .jpg, or .gif, or any format i guess) in dos...with out a program i mean, like with a batch file. thanks.
    "What this country needs is more free speech worth listening to." - -Hansell B. Duckett

  2. #2
    Registered User Unimatrix139's Avatar
    Join Date
    Jun 2002
    Posts
    55

    ...

    It's not possible to view graphic formats in DOS (except ASCII art!) without an application - Batch files cannot be used because they are simply a series of DOS commands in a long line. You would have to download a dedicated GIF (or whatever) viewer for any image-related task in DOS.
    Kree'ta Tau'ri! Chaapa'ai!

  3. #3
    Sir Mister Insane Sako Klinerr1's Avatar
    Join Date
    May 2002
    Posts
    608
    dos can support grpahics but you need speical dingies im sure youve played wolfenstien 3d or doom or something. but if you plan to use grpahics i recomend learnign tomake win32 apps. they come out beter and have more capability (thats what i hear)
    Email: Klinerr1@nc.rr.com || AIM: MisterSako || MSN: sakotheinsane@hotmail.com

    -the shroom has spoken

  4. #4
    Unleashed
    Join Date
    Sep 2001
    Posts
    1,765
    dos can support grpahics but you need speical dingies im sure youve played wolfenstien 3d or doom or something. but if you plan to use grpahics i recomend learnign tomake win32 apps. they come out beter and have more capability (thats what i hear)
    When you mention a Win32 app, I would guess that you are refering to Win32 console applications. Meaning, a dos box. I would guess this, in the theroy, that this would somehow relate to the thread. When in fact, it doesn't. Win32 apps, or atleast from my expierence, will not run in pure DOS mode.

    > grpahics
    graphics.

    > you need speical dingies
    That sounds like a job for me.

    > grpahics i recomend learnign tomake
    graphics I recommend learning to make

    ..............use a spell checker or something
    Last edited by Shadow; 08-11-2002 at 10:25 PM.
    The world is waiting. I must leave you now.

  5. #5
    Registered User Unimatrix139's Avatar
    Join Date
    Jun 2002
    Posts
    55

    Lightbulb DOS graphics

    Unless you manage to change graphics mode (most of which that are supported in DOS are quite poor anyway) then images cannot be displayed. Proper 'pure' DOS is 16-bit so as Win32 applications (or whatever) won't execute. However, I dont know if DOS 7.10 (Windows 95 dos) or DOS XP are 32 bit though ...
    Kree'ta Tau'ri! Chaapa'ai!

  6. #6
    Evil Member
    Join Date
    Jan 2002
    Posts
    638

    You could always...

    use aalib to convert it, then display it in a batch file.

    http://aa-project.sourceforge.net/aalib/

  7. #7
    moi
    moi is offline
    Registered User moi's Avatar
    Join Date
    Jul 2002
    Posts
    946

    Re: DOS graphics

    Originally posted by Unimatrix139
    Unless you manage to change graphics mode (most of which that are supported in DOS are quite poor anyway) then images cannot be displayed. Proper 'pure' DOS is 16-bit so as Win32 applications (or whatever) won't execute. However, I dont know if DOS 7.10 (Windows 95 dos) or DOS XP are 32 bit though ...
    your post has very little clarity meaning or accuracy.

    win 95/98 dos is a slightly worked over dos 6.2 and is still the same 16 bit real mode thang.
    there is no DOS in xp.
    your implying that 32 bit apps can support high graphics modes better than 16 bit apps is wrong, but irrelevant because for many other reasons there isn't a whole lot of 16 bit anything floating around. all successful dos apps that are graphically intense are written in 32 bit compilers.
    hello, internet!

  8. #8
    Registered User Unimatrix139's Avatar
    Join Date
    Jun 2002
    Posts
    55

    32-bit

    I was refering to Shadow's post about Win32 applications in DOS, although after re-reading my post i suppose it doesn't make much sense - It must have done at the time when refering to 'DOS XP' I meant the command processor supplied with XP - CMD.EXE or COMMAND.COM I think it's called - although I could be completly off track, I don't actually own anything XP. Sorry!
    Kree'ta Tau'ri! Chaapa'ai!

  9. #9
    Unleashed
    Join Date
    Sep 2001
    Posts
    1,765
    WinXP has a command. Go to run, type command, hit enter.
    All windows versions have this.

    > win 95/98 dos is a slightly worked over dos 6.2 and is still the same 16 bit real mode thang.
    So when you make a boot disk, and format your computer after having a safe boot disk, is this what you're talking about? I'd have to refer to documents, but the true dos mode for win 95/98 is a command.com shell. Windows manages the "command line interface" differently, obviously...The graphics bit in the FAQ here at cprog.com - console won't do graphics, etc.

    > there is no DOS in xp.
    While I'm not too sure about this, nor doubting it, I'll just say anything is possible.

    > all successful dos apps that are graphically intense are written in 32 bit compilers.
    The original dos Quake (16 bit) wasn't graphically intense?
    Lets see you code it then.
    The world is waiting. I must leave you now.

  10. #10
    moi
    moi is offline
    Registered User moi's Avatar
    Join Date
    Jul 2002
    Posts
    946
    Originally posted by Shadow
    WinXP has a command. Go to run, type command, hit enter.
    All windows versions have this.

    > win 95/98 dos is a slightly worked over dos 6.2 and is still the same 16 bit real mode thang.
    So when you make a boot disk, and format your computer after having a safe boot disk, is this what you're talking about? I'd have to refer to documents, but the true dos mode for win 95/98 is a command.com shell. Windows manages the "command line interface" differently, obviously...The graphics bit in the FAQ here at cprog.com - console won't do graphics, etc.

    > there is no DOS in xp.
    While I'm not too sure about this, nor doubting it, I'll just say anything is possible.

    > all successful dos apps that are graphically intense are written in 32 bit compilers.
    The original dos Quake (16 bit) wasn't graphically intense?
    Lets see you code it then.
    quake has always been 32 bit.
    hello, internet!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. I need help to compile this code...
    By wise_ron in forum C Programming
    Replies: 17
    Last Post: 05-07-2006, 01:22 PM
  2. DOS Program Question
    By PriMaL in forum C++ Programming
    Replies: 6
    Last Post: 12-08-2002, 07:02 PM
  3. Very simple question, problem in my Code.
    By Vber in forum C Programming
    Replies: 7
    Last Post: 11-16-2002, 03:57 PM
  4. Question type program for beginners
    By Kirdra in forum C++ Programming
    Replies: 7
    Last Post: 09-15-2002, 06:10 AM
  5. quick question about C Dos text menu pgm i was doing
    By Shadow in forum C Programming
    Replies: 2
    Last Post: 09-16-2001, 11:26 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21