I am attempting to loop through all the files in the "folder" folders in the specified folder, and move them to a different one.
I have this code:
@ECHO OFF FOR /R C:\Users\user\Desktop\New^ folder^ 3\ %%F IN (folder\*.*) DO ( MOVE %%F C:\Users\user\Desktop\New^ folder\ ) PAUSE
But it brings out a syntax error. However, When I ECHO %%F, it shows the full path of each file correctly.
What am I doing wrong here?