windows 7 does not activate the path for powershell.
1) C:\Windows\System32\WindowsPowerShell\v1.0 exsists in my path
C:\GitRepository>path
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem; C:\Windows\System32\WindowsPowerShell\v1.0;
2) can’t run powershell from cmd implicitly
C:\GitRepository>powershell
'powershell' is not recognized as an internal or external command, operable program or batch file.
3) but it runs explicitly
C:\GitRepository>c:\Windows\System32\WindowsPowerShell\v1.0\powershell
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.
PS C:\Users\user\Androidwork\WebDevelopment\GitRepository> exit
C:\Users\user\Androidwork\WebDevelopment\GitRepository>
Any idea?
Your problem are the spaces in front of the path to PowerShell. Just remove them, i.e.: