1、 @echo off & setlocal enableDelayedExpansion set a= set /p a=Please drag your txt file for split: cls :: %% 两个百分号 不带文件名后缀 for %%k in (%a%) do set wjm=%%~nk 2、 1、 @echo off & setlocal enableDelayedExpans
1、 @echo off & setlocal enableDelayedExpansion set a= set /p a=Please drag your txt file for split: cls :: %% 两个百分号 不带文件名后缀 for %%k in (%a%) do set wjm=%%~nk 2、 1、 @echo off & setlocal enableDelayedExpans