China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-27 17:17
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » ASCII Code Encyclopedia - (0 to 255) Updated View 11,558 Replies 49
Floor 16 Posted 2006-11-27 21:55 ·  中国 河北 廊坊 三河市 移动
金牌会员
★★★★
Credits 2,725
Posts 1,160
Joined 2006-09-23 12:00
19-year member
UID 63486
From 河北廊坊
Status Offline
Moderator 3742668 is really powerful! Wait until my cooldown time is up, I will definitely give you extra points.
三人行,必有吾师焉。 学然后知不足,教然后知困,然后能自强也。
Floor 17 Posted 2006-11-27 22:00 ·  中国 北京 联通
金牌会员
★★★★
Credits 2,902
Posts 1,147
Joined 2006-09-21 12:00
19-year member
UID 63324
Gender Male
Status Offline
Wonderful~~Learned~~:)))
    Redtek,一个永远在网上流浪的人……

_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._
Floor 18 Posted 2006-12-20 02:13 ·  美国 缅因州
中级用户
★★
Credits 316
Posts 152
Joined 2006-06-18 13:01
20-year member
UID 57204
Gender Male
Status Offline
We noobs can only learn. Bookmark it first. Thanks, great guys.
Floor 19 Posted 2006-12-21 04:58 ·  中国 浙江 杭州 电信
中级用户
★★
Credits 305
Posts 85
Joined 2005-05-23 00:00
21-year member
UID 39004
Gender Male
Status Offline
Accidentally discovered something with the same function
Get the ASCII code value of the keyboard

[ Last edited by yardian on 2006-12-21 at 04:59 AM ]
Floor 20 Posted 2006-12-28 23:00 ·  中国 广东 东莞 电信
银牌会员
★★★
Credits 1,179
Posts 442
Joined 2006-09-09 22:47
19-year member
UID 62249
Status Offline
Floor 21 Posted 2006-12-28 23:12 ·  中国 北京 中国科学院研究生院
银牌会员
★★★
Credits 1,187
Posts 555
Joined 2006-12-21 07:35
19-year member
UID 74129
Gender Male
Status Offline
But how to use commands to output these special characters under CMD?

Only use CMD commands, not other ones like VBS, JS, HTML, etc.

But DEBUG is allowed.

What to do?
Floor 22 Posted 2006-12-29 00:26 ·  中国 湖北 武汉 电信
版主
★★★★★
Credits 11,386
Posts 4,938
Joined 2006-07-23 17:10
19-year member
UID 59080
Status Offline

The simplest method is Alt+, where the number is the ASCII code corresponding to the character.
Floor 23 Posted 2007-03-27 13:28 ·  IANA 局域网IP(Private-Use)
初级用户
★★
Credits 186
Posts 92
Joined 2007-03-27 08:20
19-year member
UID 83047
Gender Male
Status Offline
Just arrived to learn, and give some support
Floor 24 Posted 2007-03-28 00:23 ·  中国 贵州 贵阳 电信
中级用户
★★
Credits 304
Posts 117
Joined 2006-04-04 18:43
20-year member
UID 53325
Gender Male
Status Offline
Floor 25 Posted 2007-03-28 05:56 ·  中国 广东 佛山 奥飞数据BGP机房
新手上路
Credits 2
Posts 1
Joined 2007-03-28 05:35
19-year member
UID 83145
Gender Male
Status Offline
Hehe, do you have any points?
Floor 26 Posted 2007-04-01 23:14 ·  中国 广东 汕头 电信
初级用户
Credits 37
Posts 18
Joined 2007-04-01 08:57
19-year member
UID 83600
Gender Male
Status Offline
Floor 27 Posted 2007-04-01 23:56 ·  中国 河南 郑州 电信
新手上路
Credits 6
Posts 3
Joined 2007-03-10 02:07
19-year member
UID 81254
Gender Male
From 被世界遗忘的角落...
Status Offline
I'm a newbie~ Want to learn~ But can't understand anything~ It seems everyone is an expert~
Floor 28 Posted 2007-04-22 05:30 ·  中国 江苏 徐州 电信
初级用户
Credits 125
Posts 49
Joined 2006-12-24 08:33
19-year member
UID 74424
Gender Male
Status Offline
<html>

<head>

<title>Check Character ASCII Value</title>

<STYLE type=text/css>
BODY {
MARGIN-TOP: 8px
}
.style1 {
COLOR: #ff6633
}
TD {
FONT-SIZE: 9pt; LINE-HEIGHT: 15pt
}
A:link {
COLOR: #333333; TEXT-DECORATION: none
}
A:visited {
COLOR: #333333; TEXT-DECORATION: none
}
A:active {
COLOR: #ff6600; TEXT-DECORATION: none
}
A:hover {
COLOR: #ff6600
}
.upline {
BORDER-TOP: #ff6633 1px solid
}
.downline {
BORDER-BOTTOM: #ff6633 1px solid
}
.f1 {
FONT-SIZE: 12px; COLOR: #ff6633; FONT-FAMILY: "Verdana", "Arial", "Helvetica", "sans-serif"; TEXT-DECORATION: none
}
.f2 {
FONT-SIZE: 12px; COLOR: #333333; FONT-FAMILY: "Verdana", "Arial", "Helvetica", "sans-serif"; TEXT-DECORATION: none
}
</STYLE>


</head>

<body>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="760">
<tr>
<td width="100%"></td>
</tr>
<tr>
<TD height=30>
 </TD>
</tr>
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber7">
<tr>
<td width="100%">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#111111" id="AutoNumber9" style="border-collapse: collapse">
<tr>
<td width="103%" align="left" height="30">
<p align="center"><b>Check Character ASCII Value</b></td>
</tr>
<tr>
<td width="100%" align="left"><br>
<p align="center">
<SCRIPT language=JavaScript>
<!-- Begin
function showKeyCode()
{
var character = document.characterCode.character.value.substring(0,1);
var code = document.characterCode.character.value.charCodeAt(0);
var msg = "Character \""+character+"\" corresponds to ASCII code value "+code+".";
alert(msg);
}
// End -->
</SCRIPT>
<FORM name=characterCode>
<p align="center">
Enter a character to check:
<INPUT name=character size=15>
<INPUT onclick=showKeyCode(); type=button value=Display Character ASCII Value>
</FORM><br><br>
</td>
</tr>
</TABLE>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%"></td>
</tr>
</table>
</center>
</div>
</body>

</html>
Floor 29 Posted 2007-04-26 13:03 ·  中国 广东 东莞 电信
初级用户
Credits 79
Posts 37
Joined 2007-04-26 12:31
19-year member
UID 86552
Gender Male
Status Offline
good!!!!!

Collected...
Floor 30 Posted 2007-06-22 19:48 ·  中国 浙江 杭州 电信
初级用户
Credits 52
Posts 27
Joined 2006-10-06 00:44
19-year member
UID 64647
From ☆逍遥宫☆
Status Offline
All are good stuff, collected. Thanks
Forum Jump: