📌  相关文章
📜  批处理文件扩展名 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:52.456000             🧑  作者: Mango

代码示例1
@echo off
setlocal
set file=C:\Users\l72rugschiri\Desktop\fs.cfg
for %%i IN ("%file%") DO (
       echo filedrive=%%~di
    echo filepath=%%~pi
    echo filename=%%~ni
    echo fileextension=%%~xi
)