I have a folder that I have placed in the path environment variable (windows 7) such that I can run my python programs from any directory (using python -m <python.py>). Recently I have noticed that the command does not work when I open a command line as administrator but does when I open as a regular user.

Does anybody know why this might be the case and how I can fix the problem?