回复 4# legend_bat
move命令也要放到if内部- @echo off
- if exist *-BM*.NC (
- md "底面" 2>nul
- move /y *-BM*.NC "底面"
- )
- if exist *-FM*.NC (
- md "底面" 2>nul
- move /y *-FM*.NC "底面"
- )
- if exist *-EP*.NC (
- md "R面" 2>nul
- move /y *-EP*.NC "R面"
- )
- if exist *-A*.NC (
- md "A面" 2>nul
- move /y *-A*.NC "A面"
- )
- if exist *-B*.NC (
- md "B面" 2>nul
- move /y *-B*.NC "B面"
- )
- if exist *-C*.NC (
- md "C面" 2>nul
- move /y *-C*.NC "C面"
- )
- if exist *-D*.NC (
- md "D面" 2>nul
- move /y *-D*.NC "D面"
- )
- if exist *-L*.NC (
- md "F面" 2>nul
- move /y *-L*.NC "F面"
- )
- del /f /q "%~f0"
复制代码
|