hi all
I got a special task to be handled by batch program.
this task is to delete subfolders in one location if the name of those folder exist in another location with format of name.oam.
for example:
folder "job"
--->1
--->2
--->3
folder "script"
--->1.oam
--->2.oam
--->3.oam
for each subfolder in "job
if this subfolder's name equals file name(without .oam) in folder "script"
delete this subfolder
end if
end for
I think I might need nested for look to handle this task. can some one help me with this code? I am not good at batch programming.