Moving顶多 fails to move.
Hey. From now on, I'd better use move for such code. At least it's safer.
Hey. From now on, I'd better use move for such code. At least it's safer.
知,不觉多。不知,乃求知
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
Originally posted by huahua0919 at 2008-8-20 02:21 PM:
That is, your file name structure is problematic and cannot have special characters, otherwise it will become empty, so that's why I used copy.
Originally posted by huahua0919 at 2008-8-20 02:28 PM:
Whether you copy or move, there will be a loss, as long as there are special characters in your file name
Originally posted by iuiu at 2008-8-20 02:44 PM:
Just did it again. Using the batch file you wrote doesn't miss songs, but the songs that can't be processed are still in the original place.
Originally posted by flyinspace at 2008-8-20 02:47 PM:
Shao Ge just because the del statement was used.
I have corrected the error on the 2nd floor.
You can try again.
His batch processing is not that it cannot be processed and is still in place, but that it is processed and still in place. So it is recommended to use move...
Originally posted by flyinspace at 2008-8-20 03:15 PM:
@echo off & setlocal EnableDelayedExpansion
set "Total=0"
for /f "delims=- tokens=1,* " %%i in (' dir /b *.mp3') do (
set /a "Total+=1"
echo 正在处 ...