CMD Sprawdź, czy folder istnieje, czy nie

if exist yourfoldername\ (
  echo Yes 
) else (
  echo No
)
Shiny Swiftlet