I am trying to process all the directory present in a given directory. However, i want to skip a particular set of directories and i know the names of these directory. Here's the pseudo code
for /D %%G in ("%ROOT_VAR%\mainDirectory\*") do (
if "%%G" == "%%ROOT_VAR%%\mainDirectory\dir_to_be_skipped" (
echo "Skipping dir_to_be_skipped"
)
continue processing other directory
How do i do that in batch script ? I just want to skip processing dir_to_be_skipped
Thank Kelly