Below is the code:
move /y 新包青天*.wmv "D:\Media\新包青天" >nul 2>nul
for /f "delims=" %%a in ('dir /b /s /a-d "c:\Media" ^| findstr /v 新包青天*.wmv ') do (
move /y %%a "D:\Media"
)
After running, this P (the P made is also in this folder) is also moved away.
Question: How to achieve that this P is not moved away in the original place? Thanks
[ Last edited by HAT on 2008-10-21 at 15:40 ]
move /y 新包青天*.wmv "D:\Media\新包青天" >nul 2>nul
for /f "delims=" %%a in ('dir /b /s /a-d "c:\Media" ^| findstr /v 新包青天*.wmv ') do (
move /y %%a "D:\Media"
)
After running, this P (the P made is also in this folder) is also moved away.
Question: How to achieve that this P is not moved away in the original place? Thanks
[ Last edited by HAT on 2008-10-21 at 15:40 ]
