The system did not find the environment option.

Closed
baladino Posted messages 6 Status Member -  
oOo Nébula oOo Posted messages 5 Status Member -
Hello,
While trying to open a program or even a Windows program, I receive this message
<bold>[Window Title]
C:\Program Files\CCleaner\CCleaner.exe

[Content]
C:\Program Files\CCleaner\CCleaner.exe

The system cannot find the specified environment option.

[OK]

I can't even click on: system restore

Can someone help me?
Thank you
Baladino
Configuration: Windows Vista Firefox 3.0

8 answers

  1. yvesg4
     
    Hello,

    You need to open the registry: start - run - REGEDIT

    In: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]

    Right-click on "environment" then "new" and "string value"

    Rename the new value to PATHEXT

    Double click on PATHEXT and enter .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC

    Restart the computer

    Good luck
    9
    1. baladino
       
      Thank you Yvesg4
      Don't think I'm doing this on purpose, but my computer refuses to run REGEDIT!
      I'm confused, but I don't know what to do anymore. Can I access HKEY_LOCAL_MACHINE\SYSTEM in another way?
      Thank you for taking the trouble.
      Baladino
      0
  2. Bob
     
    SOLUTION:

    - Boot in safe mode (F8 at startup)
    - Click Start/Run, type "msconfig"
    - Go to the last tab at the top (Tools or Options)
    - Look for and execute in the list "disable user account control" (This is what's causing the issue)
    - Apply, OK, Restart and it's super great.

    OR change it right away to Windows XP.
    5
    1. baladino
       
      Thank you for your reply. In desperation, I reinstalled Vista. Everything is fine now. Best regards. GB
      0
  3. yvesg4
     
    Try to run REGEDIT in safe mode (F8 at system startup)
    4
    1. baladino Posted messages 6 Status Member
       
      Good evening yvesg4

      I cowardly gave up and reset the system. I kept my files but unfortunately lost my Thunderbird emails
      Thank you for your help.
      Baladino
      0
      1. kayuv > baladino Posted messages 6 Status Member
         
        Hello, I would like to know how you reset the computer because I can't click on it. Please help me as soon as possible because I can't launch any programs except the internet.
        Thank you in advance
        kayuv
        0
      2. Tribuvandevenne Posted messages 4 Status Member > baladino Posted messages 6 Status Member
         
        Can you tell me how to reset your PC since I have the same problem as you? It might help me solve my issue.
        Thank you very much.
        0
  4. yvesg4
     
    Hi,

    Check if your environment variables are correct!

    Right-click on COMPUTER - properties - on the left, click on "advanced system settings"

    Environment variables - look for "PATH" and see if you have at least this:

    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;J:\Program Files\Windows Imaging\
    1
    1. baladino
       
      Thank you for your help Yvesg4, but when I click on advanced settings, it replies: "Windows cannot find %windir%//system32\\systempropertiesadvanced.exe'. Please check that you entered the correct name, and then try again."
      What should I do?
      Thank you Yvesg4
      Baladino
      0
    2. baladino
       
      Dear yvesg4
      By feeling my way, I managed to find this information. Can it be useful for troubleshooting? Thank you


      CLASSPATH .;C:\Program Files\Java\jre1.6.0_06\lib\ext\QTJava.zip <SYSTEM>
      ComSpec %SystemRoot%\system32\cmd.exe <SYSTEM>
      NUMBER_OF_PROCESSORS 2 <SYSTEM>
      OS Windows_NT <SYSTEM>
      PROCESSOR_ARCHITECTURE x86 <SYSTEM>
      PROCESSOR_IDENTIFIER x86 Family 6 Model 15 Stepping 11, GenuineIntel <SYSTEM>
      PROCESSOR_LEVEL 6 <SYSTEM>
      PROCESSOR_REVISION 0f0b <SYSTEM>
      TEMP %USERPROFILE%\AppData\Local\Temp AUTORITE NT\SYSTEM
      TEMP %USERPROFILE%\AppData\Local\Temp PC-Maison\Gilbert Baladi
      TMP %USERPROFILE%\AppData\Local\Temp AUTORITE NT\SYSTEM
      TMP %USERPROFILE%\AppData\Local\Temp PC-Maison\Gilbert Baladi
      0
    3. LeMoutch
       
      Good evening, I have the same problem since this evening and after trying the different tips I could find, none of them work. The last thing I did was the advanced system settings, and when I click on it, it opens the window telling me that the system did not find the specified environment option. What should I do?
      0
    4. oOo Nébula oOo Posted messages 5 Status Member
       
      Hello everyone!! But.. oh dear.. I can't even enter the advanced system settings...! What am I supposed to do now?!!
      0
  5. yvesg4
     
    Hello,

    It's the PATH line that you need to check,

    You can also verify and modify it by going to "All Programs" "Accessories" + right-click on "Command Prompt" and run as administrator.

    In the command window, type PATH.
    1
    1. baladino
       
      Hello yvesg4
      I clicked on accessories, right-clicked on run as administrator. The machine threw me out. I simply clicked and here is what the machine responded

      Microsoft Windows [version 6.0.6001]
      Copyright (c) 2006 Microsoft Corporation. All rights reserved.

      C:\Users\Gilbert Baladi>PATH
      PATH=C:\Windows\System32

      C:\Users\Gilbert Baladi>
      C:\Users\Gilbert Baladi>PATH
      PATH=C:\Windows\System32

      C:\Users\Gilbert Baladi>


      Does this make sense to you? Thank you for kindly taking care of my problem; but I am clueless in this matter.
      Best regards
      Baladino
      0
  6. yvesg4
     
    Hello,

    Have you not reset your system to a date prior to the installation of Thunderbird? If so, reinstall Thunderbird.
    0
  7. Evaloise
     
    Hello! I have the same problem, but my parents won't let me reset the computer! I really don't know what to do! I can't download anything, and I can hardly open anything! I can't even change the username, nothing! What should I do? Help me!
    0
  8. yvesman13
     
    HELLO

    I have the same problem "The system cannot find the specified environment option."
    I just got my PC back from the support service, which reset the disk to factory settings, and since then I can't do anything.
    I (miraculously) managed to install ff but not Google Chrome

    I tried all the tips above but none worked
    The only thing I got was the response PATH in a regular command window

    Here it is

    C:\Users\Utilisateur>PATH
    PATH=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program File
    s (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\NVIDIA
    Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbe
    m;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\EgisTec\MyW
    inLocker 3\x86;C:\Program Files (x86)\EgisTec\MyWinLocker 3\x64;C:\Program Files
    \WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow6
    4;C:\Program Files (x86)\Windows Live\Shared

    What can I do?

    Thanks in advance.
    0