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-25 18:19
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Unreadable DOS command View 1,177 Replies 3
Original Poster Posted 2003-04-04 00:00 ·  中国 安徽 合肥 电信
中级用户
Credits 272
Posts 43
Joined 2003-04-04 00:00
23-year member
UID 1392
Gender Male
Status Offline
Question for the experts, what does this code mean?
@echo off
echo y |del c:\windows\cookies\.|exit
Floor 2 Posted 2003-04-04 00:00 ·  加拿大 安大略省 多伦多
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
It means deleting all files in C:\WINDOWS\COOKIES without asking for confirmation, and then exiting the batch program.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 3 Posted 2003-04-05 00:00 ·  中国 安徽 合肥 电信
中级用户
Credits 272
Posts 43
Joined 2003-04-04 00:00
23-year member
UID 1392
Gender Male
Status Offline
Could the moderator explain the second line in more detail? I'm very confused about the “|” in this command, thanks!
Floor 4 Posted 2003-04-10 00:00 ·  中国 江西 吉安 电信
版主
★★★★
Credits 7,296
Posts 1,628
Joined 2002-10-16 12:00
23-year member
UID 10
Gender Male
Status Offline
It's just using two | to separate the three commands. | is one of DOS's pipe symbols.
ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
Forum Jump: