![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
批处理
两人行
风雨人生路,携手前行,有你一切安好!
展开
-
批处理命令获取指定目录下的指定文件夹名并以空格连接
如需要在D:\Test\目录下搜索出所有的以Test开头的文件夹,并以空格来连接文件夹名,可以使用以下批处理命令:@echo offsetlocal enabledelayedexpansionset alltests=for /d %%i in (Test*) do set alltests=!alltests! %%iecho %alltests%pause原创 2014-05-21 22:47:22 · 2031 阅读 · 0 评论 -
批处理启动麦克风录音
@echo offecho ==================================echo Start to record:SoundRecorder.exe /duration 00:00:20 /file c:\test.wmaif not %errorlevel% == 0 GOTO RecordErrorecho End to recordecho P原创 2014-05-26 20:46:06 · 954 阅读 · 0 评论