![]() |
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-09-23 12:53 |
47,812 topics / 349,917 posts / today 0 new / 48,273 members |
| DOS批处理 & 脚本技术(批处理室) » [Help] How to delete a certain type of file in an unknown directory under DOS! |
| Printable Version 2,742 / 2 |
| Floor1 xiaojj | Posted 2003-11-07 00:00 |
| 初级用户 Posts 2 Credits 108 | |
|
I want to delete some RM format video files on my DVD drive under DOS. (The system can't boot in.) They take up too much space.
I used del e:\*.rm, which can only delete RM files in the root directory. But I have some RM files saved in folders with very long Chinese names. I don't know how to delete these RM files... Please help... Don't dare to use format, there are some important documents that can't be deleted. Deltree doesn't work well either because the file directory is garbled. In short, it's very troublesome. Please teach me a simple way to delete RM format files in a certain partition and unknown directories. Thanks a lot.......... I think this must be a simple problem. I have to come to the internet café to ask experts for guidance. Thanks again |
|
| Floor2 Kinglion | Posted 2003-11-25 00:00 |
| 铂金会员 Posts 1,924 Credits 5,798 From 金獅電腦軟體工作室 | |
|
You can use the DOS version of PKZIP to complete this task. The following is a batch file I wrote, you can give it a try. (Taking deleting all.BAK files as an example)
@ECHO OFF CD\ IF EXIST C:\TMP^TMP.ZIP DEL C:\TMP^TMP.ZIP PKZIP.EXE -a -exx -p -r -o -= -a+ -n+ -! -m C:\TMP^TMP.ZIP *.BAK > NUL DEL C:\TMP^TMP.ZIP PKZIP.EXE file download: Open attachment Welcome to exchange experiences! |
|
| Floor3 龙王 | Posted 2003-11-29 00:00 |
| 银牌会员 Posts 334 Credits 1,186 | |
|
Aren't there bilingual versions of tools similar to PCTools? I just use it. Deleting and copying are very convenient.
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |