AUTOEXEC.BAT PROMPT

AUTOEXEC.BAT PROMPT

Post by Martin Pedd » Mon, 29 Aug 1994 05:46:10



 My son has come up with the following prompt to make use of the 4DOS %%
 utility.


 k Free $_$D $T$_$P$G

 The above should be entered on a single line without space between ,K]k

 Perhaps you 4DOS users can give us your own variations on this theme.

 Regards,

 Martin

 
 
 

AUTOEXEC.BAT PROMPT

Post by Raymond Yungyao C » Wed, 07 Sep 1994 06:29:14


:  My son has come up with the following prompt to make use of the 4DOS %%
:  utility.


:  k Free $_$D $T$_$P$G

:  The above should be entered on a single line without space between ,K]k

:  Perhaps you 4DOS users can give us your own variations on this theme.

:  Regards,

:  Martin

Here's my prompt if it is worth anything.....

PROMPT=$e[s$e[1;1f$e[0;44;37;1m$e[K%%_dos %%_dosver [$z, %%_win, %%?]

$t$e[u$e[0m$e[32;40m$p$e[35;40m$G$e[37;40m

I really like mine, anyone out there want to share theirs??

Raymond Chi


 
 
 

AUTOEXEC.BAT PROMPT

Post by Raymond Yungyao C » Thu, 08 Sep 1994 04:21:59



: On the subject of prompts, I believe Tony Nugent has my PromptFromHell in
: his collection [Tony, you want the current version?]. Here's what it
: looks like, in one color (the original has seven colors):

: Junk is the stuff we throw away; stuff is the junk we keep
: [Tue, 09-06-94 - 00:40:25] [C 3483K] [D 2410K] [E 2K] [F 311K]                  
: [4DOS 4.01D MSDOS 5.0a] [Mem 531K] [Shell: 1] C:\                              
: D:\TM4>                                                                      

: The first line uses the %exec[] function to put up a random tagline every
: time the prompt is displayed. Time and available disk/memory space are
: also updated on evey display.

My prompt, which is posted earlier, saves current cursor position, then
goto top of screen, clear line 1, paste line 1 with blue, and prints the
follow information on bright white

DOS 6.20 [0, 0, 0] 610k Conv, 4000k XMS, 1000k EMS        date and time

then restores cursor position and prints current directory in one color
and > in another color, finally, back to white for input....

I prefer the info on top rather than with the prompt. It gives me a
feeling of the good old DOS prompt and doesn't feel too crowded. :)

In side the [], the first number is the shell level, second is 2 if
windows is loaded, and third is last external error level. It takes some
time to get use to all the info displayed, but i found it VERY helpful. I
use multi-conf and this gives me enough info on whether i can run a
program or not..

Maybe this can be put in to the collection... :) Will it be released
anytime soon? I would love to try out the others..

J.P. software should put a decent prompt in their 4dos so newcomers can
get a feel of what it can do. just a thought.

Raymond Chi

p.s. by the way, mine only works if ansi driver is loaded.

 
 
 

AUTOEXEC.BAT PROMPT

Post by Raymond Yungyao C » Wed, 07 Sep 1994 11:40:59


: I have a collection of them.  They are not here now (I'm not
: on-line from home:), but I'll see what I can do about posting
: them.  All sorts of things there.  I'll have to zip and uuencode
: them, as there are some high-bit graphics characters in with
: them.  Some of them are really neat (a collection from Fidonet,
: my own experimentations, and from various other places... maybe I
: should submit them for archive purposes at SimTel and garbo?)

One more thing, anyone out there have a good ColorDir setting? Here's
mine. It's pretty simple, but does a good job for me. Maybe someone can
post their collections too. :)

ColorDir = dirs:bright red; system hidden:yellow; rdonly:green;
com:bright green; exe:cyan; bat btm:bright yellow; doc txt:bright white;
*:white

Raymond Chi

 
 
 

AUTOEXEC.BAT PROMPT

Post by Tony Nuge » Wed, 07 Sep 1994 09:44:16




>:  My son has come up with the following prompt to make use of the 4DOS %%
>:  utility.

>:  k Free $_$D $T$_$P$G

[...]

>Here's my prompt if it is worth anything.....
>PROMPT=$e[s$e[1;1f$e[0;44;37;1m$e[K%%_dos %%_dosver [$z, %%_win, %%?]

>$t$e[u$e[0m$e[32;40m$p$e[35;40m$G$e[37;40m
>I really like mine, anyone out there want to share theirs??

I have a collection of them.  They are not here now (I'm not
on-line from home:), but I'll see what I can do about posting
them.  All sorts of things there.  I'll have to zip and uuencode
them, as there are some high-bit graphics characters in with
them.  Some of them are really neat (a collection from Fidonet,
my own experimentations, and from various other places... maybe I
should submit them for archive purposes at SimTel and garbo?)

Give me a few days to organise this.

BTW, the BEST way to set the prompt is NOT with the prompt
command, but by using "set /r"  (I think it's "/r") to load the
prompt directly into the environment.  That way you don't have to
worry about the double %% and so on, and all sorts of tricks can
be done this way.

Cheers
Tony
 __^__                                 .                        __^__
( ___ )--------------------------- _--_|\ ---------------------( ___ )
 | / |  Tony Nugent               /     *\ Griffith University  | \ |


(_____)--------------------------------------------------------(_____)

 
 
 

AUTOEXEC.BAT PROMPT

Post by William W. Hugh » Wed, 07 Sep 1994 14:44:35



Quote:>One more thing, anyone out there have a good ColorDir setting? Here's
>mine. It's pretty simple, but does a good job for me. Maybe someone can
>post their collections too. :)

>ColorDir = dirs:bright red; system hidden:yellow; rdonly:green;
>com:bright green; exe:cyan; bat btm:bright yellow; doc txt:bright white;
>*:white

here's what I use for colordir:

set colordir=dirs:bright blue; sys rdonly hidden system:bright red;
com exe bat btm:bright green;
zip arc arj lzh opx qwk rep sdn zoo gz:bright yellow

On the subject of prompts, I believe Tony Nugent has my PromptFromHell in
his collection [Tony, you want the current version?]. Here's what it
looks like, in one color (the original has seven colors):

Junk is the stuff we throw away; stuff is the junk we keep
[Tue, 09-06-94 - 00:40:25] [C 3483K] [D 2410K] [E 2K] [F 311K]                  
[4DOS 4.01D MSDOS 5.0a] [Mem 531K] [Shell: 1] C:\                              
D:\TM4>                                                                      

The first line uses the %exec[] function to put up a random tagline every
time the prompt is displayed. Time and available disk/memory space are
also updated on evey display.

 
 
 

1. autoexec.bat and understanding bat files

When one uses notepad.exe to open autoexec.bat, the document looks like a
software program code resembling BASIC.  

What does autoexec.bat do, and how can we use it or change it to do different
things?  How does autoexec.bat do its things?  Can we write new autoexec.bat
files with other names  (somethingsomething.bat) for any reason?

G C

2. Test message from TTS

3. Weird autoexec.bat problem

4. Smart Host Realy

5. How to Patch COMMAND.COM to not use AUTOEXEC.BAT?

6. 3D0

7. Path command in autoexec.bat??

8. Required ATG/ Java Developer - Columbus, OH

9. HELP: msd.exe hangs using my autoexec.bat and config.sys

10. Problems with config.sys and autoexec.bat

11. circumventing running autoexec.bat on DOS 5.0

12. Bypassing CONFIG.SYS and AUTOEXEC.BAT

13. Autoexec.bat files