asm:dosbox_masm汇编语言的脚本(win)
一、脚本
1、删除特定目录的文件【*.obj *.exe】
1 :: file_name = doe.bat
2 :: doe = [d]elete [o]bj [e]xe
3
4 :: function: delete *.obj *.exe files in the "SRC" directory.
5
6 :: environments = dosbox.exe (doe.bat has been ran in the dosbox.exe)
7
8
9
10
11 @echo off
12
13 :: position = c:\src
14 c:
15 cd src
16
17 :: list files before delete command
18 echo -- [ before delete: list files ] --
19 dir
20
21 :: delete files *.obj *.exe in the "c\src" directory
22 echo == [ delete: *.obj, *.exe ] ==
23 del *.obj
24 del *.exe
25 echo == [ delete: over ] ==
26
27 :: list files after delete command
28 echo -- [ after delete: list files ] --
29 dir
.
本文由 lnlidawei 原创、整理、转载,本文来自于【博客园】; 整理和转载的文章的版权归属于【原创作者】; 转载或引用时请【保留文章的来源信息】:https://www.cnblogs.com/lnlidawei/p/17037658.html