I have the following For loop in a batch file:
for /R c:estsrc %%i IN (*.*) DO (
MOVE %%i C:estdestination
ECHO %%i
exit
)
The result of the ECHO outputs the entire file path Ex: C:FoldernameFilename
I need to ECHO out only the Filename.Is there a specific command which would give me the filename ?
Thanks !
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…