编程语言技巧经验分享
技术是一门绝妙的艺术。致力于C、C++、Java、Kotlin、Android、iOS、JavaScript、TypeScript、Python等编程技术的技巧经验分享
博客首页
批处理
关注
分享
批处理
复制链接
扫一扫
关注数:
0
文章数:
1
文章阅读量:
1454
文章收藏量:
0
作者:
程序员小迷
从前有只猫,它不去抓老鼠,而是想吃面包店的面包,最终它变成了人.
展开
批处理搜索文件
@echo off if "%1" == "" ( goto :help ) if "%2" == "" ( goto :help ) set curr_dir=%cd% :: change directory to %1 cd /d "%1" :: search in directory dir /s %2 :: return to the previous directory cd /d %curr_dir% goto :end :help echo "usage: x
原创
2024-05-30 19:16:51 ·
1454 阅读 ·
0 评论