Outils pour utilisateurs

Outils du site


informatique:microsoft:windows:test-path

Ceci est une ancienne révision du document !


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.1305108567.txt.gz · Dernière modification: 2018/09/06 18:58 (modification externe)