批处理 创建一个与文件夹名称相同的TXT文本文件

2025-03-29 03:29:56
推荐回答(1个)
回答1:

call:get "%cd%"

echo.>%f%

pause

exit

:get

set f="%~nx1.txt"