当前位置:网站首页>使用Batch枚舉文件
使用Batch枚舉文件
2022-06-11 05:39:00 【zhmhbest】
@ECHO OFF
ECHO.
ECHO 【枚舉指定目錄下所有目錄】
ECHO ------------------------
SET LOOKUPDIR=%SystemRoot%\System32\Boot
ECHO 目錄=%LOOKUPDIR%
FOR /F "usebackq delims=" %%f IN (`DIR /B /A:D /O:N "%LOOKUPDIR%"`) DO (
ECHO [D] %%f
)
ECHO ------------------------
ECHO.
ECHO 【枚舉指定目錄下所有文件】
ECHO ------------------------
SET LOOKUPDIR=%SystemRoot%\System32\Boot
ECHO 目錄=%LOOKUPDIR%
FOR /F "usebackq delims=" %%f IN (`DIR /B /A:-D /O:N "%LOOKUPDIR%"`) DO (
ECHO [F] %%f
)
ECHO ------------------------
ECHO.
ECHO 【枚舉指定目錄下所有文件極其子目錄文件】
ECHO ------------------------
SET LOOKUPDIR=%SystemRoot%\System32\Boot
ECHO 目錄=%LOOKUPDIR%
FOR /F "usebackq delims=" %%f IN (`DIR /B /S /A:-D /O:N "%LOOKUPDIR%"`) DO (
ECHO [F] %%f
)
ECHO ------------------------
PAUSE
边栏推荐
- After adding the header layout to the recyclerview, use the adapter Notifyitemchanged (POS,'test') invalid local refresh
- NDK R21 compiles ffmpeg 4.2.2 (x86, x86_64, armv7, armv8)
- 初步了解多任务学习
- Basics of customized view
- Multi thread tutorial (XXIX) immutable design
- If the MAC fails to connect with MySQL, it will start and report an error
- Multi thread tutorial (30) meta sharing mode
- Wxparse parsing iframe playing video
- 49. 字母异位词分组
- QT Road (2) -- HelloWorld
猜你喜欢

Exploration of kangaroo cloud data stack on spark SQL optimization based on CBO

Wechat applet, automatic line feed for purchasing commodity attributes, fixed number of divs, automatic line feed for excess parts

NDK learning notes (VII) system configuration, users and groups

初步了解多任务学习

es-ik 安装报错

Deep learning distributed training

MySQL string to array, merge result set, and convert to array

智能门锁为什么会这么火,米家和智汀的智能门锁怎么样呢?

微信小程序,购买商品属性自动换行,固定div个数,超出部分自动换行

lower_ Personal understanding of bound function
随机推荐
1. use alicloud object OSS (basic)
Multithreading tutorial (XXVIII) unsafe class
Games101 job 7-path tracing implementation process & detailed interpretation of code
Common methods of tool class objectutil
When the recyclerview plays more videos, the problem of refreshing the current video is solved.
Start the project using the locally configured gradle
Basics of customized view
创建酷炫的 CollectionViewCell 转换动画
In the future, how long will robots or AI have human creativity?
22、生成括号
QT Road (2) -- HelloWorld
使用Genymotion Scrapy控制手机
Multithreading tutorial (XXVI) field updater and atomic accumulator
Project - Smart City
MySQL circulates multiple values foreach, XML writing method
Bert knowledge distillation
项目-智慧城市
Opencv learning path (2-4) -- Deep parsing cvtcolor function
Exploration of kangaroo cloud data stack on spark SQL optimization based on CBO
Section II: structural composition characteristics of asphalt pavement (1) structural composition