home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Supreme Volume 6 #1
/
swsii.zip
/
swsii
/
198
/
DOS6ALL.ZIP
/
Q96697
< prev
next >
Wrap
Text File
|
1993-06-05
|
2KB
|
67 lines
ARTICLE-ID:Q96697
TITLE :Using ANSI Characters with CHOICE
--------------------------------------------------------------------
The information in this article applies to:
- Microsoft MS-DOS operating system version 6.0
--------------------------------------------------------------------
Summary:
The CHOICE command allows only one key to be used per selection. For
example, you cannot use 12 (twelve) as key selection. CHOICE
interprets this as 1 and 2. however, you can use the ANSII character
set by holding down the ALT key and entering the appropriate 3-key
combination on the numeric keypad. Not all combinations work but you
can use up to 222 different entries from the 255 available. The table
below details the 255 characters.
0-27 Do not work
28-31 Work
32 Do not work
33-255 Work with the some xceptions noted below
More Information:
ALT + 37. displays the '%' sign on your screen.
When you use the percent sign in a batch file it acts as a replaceable
parameter. You must use two percent signs (one immediately after the
other) to use the % symbol. To do this, you need to enter ALT + 37
twice.
ALT + 47 displays the '/' forwardslash.
The forwardslash will not work with CHOICE.
ALT + 60 displays the '<' symbol.
This represents a redirector and does not work with the CHOICE
command.
ALT + 62 displays the '>' symbol.
This represents a redirector and does not work with the CHOICE
command.
ALT + 124 displays the '|' (pipe) symbol.
This represents the MS-DOS pipe and does not work with the CHOICE
command.
ALT + 127 represents the delete key.
This does not work with the CHOICE command.
ALT + 255 represents the spacebar key.
This works if you enter ALT + 255. This does not work if you press the
spacebar key.
If you use the extended characters between 128 and 165, you should use
the /S switch to treat choice keys at case sensitive.
Additional reference words: 6.0