Page 1 of 1

Graphics in Batch

Posted: 16 May 2010 17:02
by phillid
I'm just wondering whether it is possible to have graphics in a batch file like in EDIT.exe

phillid :wink:

Re: Graphics in Batch

Posted: 17 May 2010 01:49
by !k

Re: Graphics in Batch

Posted: 17 May 2010 23:10
by phillid
How do I use it?

Re: Graphics in Batch

Posted: 18 May 2010 02:23
by !k
OS is XP? ANSI.SYS not worked under CMD.EXE
Add in CONFIG.NT next string

Code: Select all

device=%SystemRoot%\system32\ansi.sys

Then start ansi.sys demo

Code: Select all

command.com /c screen.bat

And must be Image

Re: Graphics in Batch

Posted: 19 May 2010 22:08
by phillid
When I try that, it says that 'device' is not a command and that it can't find screen.bat

??? :?

Re: Graphics in Batch

Posted: 20 May 2010 01:00
by !k
code device=%SystemRoot%\system32\ansi.sys need not to perform, but to add it to your "%SystemRoot%\system32\CONFIG.NT" file

screen.bat is here

Re: Graphics in Batch

Posted: 22 May 2010 18:17
by phillid
Hello. It still doesn't work. :|
It just prints the escape commands on-screen...

I've added the device command to config.nt

Have I missed a step?

phillid

Re: Graphics in Batch

Posted: 22 May 2010 23:44
by !k
Run command.com /c screen.bat?
cmd.exe /c screen.bat does not work!

Re: Graphics in Batch

Posted: 23 May 2010 12:36
by aGerman
Hi guys.

I'm virtually certain that command.com isn't available on a 64 bit OS (because 16 bit apps don't work on it). So you phillid should check it.
Here I attached a small tool I wrote in C++. You could try it. But I never got a reply if it would work on a 64 bit Windows OS too.

Regards
aGerman

Re: Graphics in Batch

Posted: 23 May 2010 23:44
by phillid
OK Cool!!! Thanks so much !k

aGerman, the program works absolutely fine on XP

I'll tell some my friends about these solutions, some of them have also been wondering how to do this too!


Thanks!
:D :D :D :D

Phillid