'cmd' n'est pas reconnu comme une commande interne ou externe, un programme exécutable ou un fichier de commandes

Quand je construis mon projet dans netbeans moi, il montre:

'cmd' is not recognized as an internal or external command,
 operable program or batch file.` 

Je suis à l'aide du jdk 8 et maven 3.3. Ma variable système path est:

%SystemRoot%\system32;%SystemRoot%;D:\POS\apache-maven-3.3.3-bin\apache-maven-3.3.3\bin;