“Comando Linux Crie pasta, se não existir” Respostas de código

Comando Linux Crie pasta, se não existir

mkdir -p foo
Defiant Dragonfly

Crie diretório se não existir

string currentPath = Directory.GetCurrentDirectory();
if (!Directory.Exists(Path.Combine(currentPath, "ACH")))
    Directory.CreateDirectory(Path.Combine(currentPath, "ACH"));
//at this point your folder should exist
Defeated Dugong

Respostas semelhantes a “Comando Linux Crie pasta, se não existir”

Perguntas semelhantes a “Comando Linux Crie pasta, se não existir”

Mais respostas relacionadas para “Comando Linux Crie pasta, se não existir” em Shell/Bash

Procure respostas de código populares por idioma

Procurar outros idiomas de código