中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-15 17:05
47,813 topics / 349,903 posts / today 1 new / 48,257 members
DOS疑难解答 & 问题讨论 (解答室) » Unreadable DOS command
Printable Version  1,325 / 3
Floor1 superdos Posted 2003-04-04 00:00
中级用户 Posts 43 Credits 272
Question for the experts, what does this code mean?
@echo off
echo y |del c:\windows\cookies\.|exit
Floor2 Wengier Posted 2003-04-04 00:00
系统支持 Posts 10,521 Credits 27,736
It means deleting all files in C:\WINDOWS\COOKIES without asking for confirmation, and then exiting the batch program.
Floor3 superdos Posted 2003-04-05 00:00
中级用户 Posts 43 Credits 272
Could the moderator explain the second line in more detail? I'm very confused about the “|” in this command, thanks!
Floor4 ko20010214 Posted 2003-04-10 00:00
版主 Posts 1,628 Credits 7,296
It's just using two | to separate the three commands. | is one of DOS's pipe symbols.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023