This will give you a hint,
HELP FOR
returns this
FOR /D %variable IN (set) DO command [command-parameters]
If set contains wildcards, then specifies to match against directory
names instead of file names.
Are you sure that you want to enter the directory at each step, when you know the name surely you then know what to do with it ?