Aller au contenu
  • Pas encore inscrit ?

    Pourquoi ne pas vous inscrire ? C'est simple, rapide et gratuit.
    Pour en savoir plus, lisez Les avantages de l'inscription... et la Charte de Zébulon.
    De plus, les messages que vous postez en tant qu'invité restent invisibles tant qu'un modérateur ne les a pas validés. Inscrivez-vous, ce sera un gain de temps pour tout le monde, vous, les helpeurs et les modérateurs ! :wink:

Messages recommandés

Posté(e)

Bonjour à tous,

j'ai un petit problème, lorsque j'ouvre une invite de commande à l'aide de la commande CMD, et que je tape "ipconfig" cela me met :

 

'ipconfig' n'est pas reconnu en tant que commande interne

ou externe, un programme exécutable ou un fichier de commandes.

 

Cela est la même chose avec la commande "ping"

 

Qu'est ce qui ce passe ??

Merci de vos réponse.

Posté(e)

http://forum.zebulon.fr/resoluipconfig-n-e...de-t121740.html

 

ton path doit etre mauvais , suite à l'instalation\desinstallation d'un logiciel nop§

 

ton path dans tes variables d'environnement est : %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem

 

??

 

un outils pour le restaurer sinon: http://windowsitpro.com/article/articleid/...-your-path.html

 

fixpath2.zip: http://www.westmesatech.com/files/fixpath2.zip à dezipper et à lancer en invite de commande

 

Download FIXPATH2.ZIP by Bill Stewart to your Desktop.

  • Extract the files to a folder in C:\ - like C:\FIXPATH2 (make a folder like that to extract the files to).
  • Open a command prompt window by going to Start > Run type: cmd and click Ok.
  • At the command prompt, type: cd C:\ and press Enter, so you should get C:\>.
  • The type: cd FIXPATH2 and press Enter, So you should get: C:\>fixpath2.
  • Then type: FIXPATH.EXE and press Enter.
  • It will display some preliminary information, and ask if it should continue and check for errors. Click Yes.
  • If it successfully updates the Path value in the registry, you will need to reboot for the change to take effect. !! This is really important !!

 

6. Why don't my commands work?

 

When you type the name of an executable program in a command prompt window, cmd.exe processes the command name as follows:

 

  1. If the command includes a path, cmd.exe checks if the specified executable exists in the specified path. If it does, then cmd.exe executes it; otherwise, it reports an error.
  2. If the command doesn't specify a path, the cmd.exe searches the current directory for an executable matching the command name. If the executable exists in the current directory, cmd.exe runs the executable. If the executable was not found in the current directory, it skips to the next step.
  3. If the executable was not found in the current directory, cmd.exe searches each directory in the Path environment variable, in order, for an executable matching the command name you typed. If the executable exists in any directory specified in the path, cmd.exe executes it; otherwise, it reports an error.

If commands don't work, then, the first thing you should check is the contents of your Path variable. At a bare minimum, your Path should start with the following:

 

PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\Wbem

 

Of course, %SystemRoot% refers to the system installation folder on your system (e.g. "C:\WINNT").

 

In some cases, the actual contents of the environment variable is correct, but the registry data type is incorrect. The system registry environment variable type should be REG_EXPAND_SZ, not REG_SZ.

 

I have written a small program called FIXPATH that attempts to fix these problems. Give it a try and see if it works correctly for you.

 

To check your registry setting manually, run regedt32 and navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment. Examine the registry data type of the Path entry. If it is not REG_EXPAND_SZ, then you need to perform the following steps:

 

  1. Open the Path entry so that it is an editable string.
  2. Select the entire string, and press Ctrl+C to copy it to the clipboard.
  3. Cancel editing of the Path entry.
  4. Open notepad and paste the string, to make sure it copied to the clipboard correctly.
  5. Delete the Path entry.
  6. Create a new value called Path and make sure that you select REG_EXPAND_SZ as the data type.
  7. For the contents, press Ctrl+V to paste the contents of the clipboard.
  8. Click OK to save the contents of the registry value.

The cause of this problem is probably an installation program that doesn't correctly read and re-write the registry value with the correct data type.

 

source: 6. http://www.westmesatech.com/cmdprompt.html

Posté(e)

Le problème semble avoir trouvé sa solution.

Ainsi, afin de signaler clairement à ceux qui ont un problème similaire qu'ils ont peut-être une solution toute trouvée (s'ils pensent à utiliser la fonction Recherche en indiquant le mot-clé "résolu" auparavant), et afin de signaler aux autres contributeurs qu'il est inutile de continuer à se creuser la tête sur le problème (à moins d'avoir des suppléments d'informations à apporter pour mieux comprendre ce qui posait problème), un modérateur a préfixé le titre du topic avec la mention [résolu].

Merci, à l'avenir, de bien vouloir prendre à votre charge cette mise à jour quand vous estimez que votre problème a été résolu de manière satisfaisante (et parallèlement, si le problème a disparu "mystérieusement", inutile d'induire les gens en erreur :P) Pour cela, p_edit.gif votre premier message :P

Rejoindre la conversation

Vous publiez en tant qu’invité. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.
Remarque : votre message nécessitera l’approbation d’un modérateur avant de pouvoir être visible.

Invité
Répondre à ce sujet…

×   Collé en tant que texte enrichi.   Coller en tant que texte brut à la place

  Seulement 75 émoticônes maximum sont autorisées.

×   Votre lien a été automatiquement intégré.   Afficher plutôt comme un lien

×   Votre contenu précédent a été rétabli.   Vider l’éditeur

×   Vous ne pouvez pas directement coller des images. Envoyez-les depuis votre ordinateur ou insérez-les depuis une URL.

  • En ligne récemment   0 membre est en ligne

    • Aucun utilisateur enregistré regarde cette page.
×
×
  • Créer...