I put a for loop as below to my PC desktop for example, in order to move all files to a corresponding folder named by its extension.
for %%G in (.) do ( md &