Search code examples
batch-filemkdirinvisible

Creating invisible folder with batch


How to use

mkdir or md

but make the folder invisible...


Solution

  • You need the attrib command to set the "hidden" attribute, assuming that when you say "invisible" you actually mean what Windows calls "hidden":

    mkdir foo
    attrib +h foo /s /d