I wrote the follow cmd command:
for /d %a in (C:\Vendita\*) do set ("folderName=%a" & rmdir %folderName% & md %folderName%)
to iterate trought all 1st level subdirectory of a folder (C:\Vendita), save each subfolder name in a variable called "folderName", remove each subdirectory and remake each subdirectory using the saved name. I have tryed to execute it but it doeasn't work.
what is wrong?
thank you