for %%x in (1 2) do ( dir \\NTDSDFS0%%x\debug dir \\NTDSDFS0%%x\public\scratchy )