@echo off setlocal EnableExtensions for %%I in (%*) do if not exist ā€œ%%~I/.ā€ mkdir ā€œ%%~Iā€