Outils pour utilisateurs

Outils du site


informatique:microsoft:windows:test-path

Test-Path

Cette commande permet d'afficher NOK si le répertoire C:\directory n'existe pas sinon il affichera OK :

if ((Test-Path C:\directory) -eq $False) {echo NOK} else {echo OK}
informatique/microsoft/windows/test-path.txt · Dernière modification: 2018/09/06 19:10 (modification externe)